[Serusers] \n in log statements

Klaus Darilion klaus.mailinglists at pernau.at
Fri Mar 19 23:21:44 CET 2004


Hi!

I tried \n in log and xlog messages to enforce line breaks (to write 
some debug info over multiple lines), but this does not work. I even 
tried \r and \r\n, but none of them works, the logging in 
/var/log/messages is always in the same line (tested on suse&redhat).

But in the sample scripts there are always \n in the log statements, 
even at the end of the string.

Should \n work?

thanks,
klaus




More information about the sr-users mailing list