This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Logging information through printk


Frank Ch. Eigler wrote:
>> I want to get the output into the system log, and it seemed like the
>> best way. Now I'm experimenting with printf, staprun -o and staprun >>
>> /var/bla, but I'm not totally pleased with it. 
>>     
> Appending to a file also written to by syslogd is a bit ugly.
Of course, I'd be piping to a different file.

>  You can just pipe to logger(1) for relaying to your local syslogd:
>
> stap netlog.stp | logger
>   
Actually, this is a very good idea, I think it would solve all the
problems. Thanks!

Cheers,
Alex

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]