Logging information through printk

Alex Iribarren alex.iribarren.lists@gmail.com
Tue Jun 5 08:30:00 GMT 2007


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070605/6f9bace6/attachment.sig>


More information about the Systemtap mailing list