Regirect /var/log/log/syslog messages to our own txt file

Gunjan Mehta gunjanmehta08 at gmail.com
Sat Sep 19 14:29:16 EDT 2015


Hi,

I am working on a project, where i print my log messages
in /var/log/log/syslog like

project_my:info::project started
project_my:debug::value of a is 1

i want to redirect project_my:info messages in info.txt file and
project_my:debug  in debug.txt file.

Regards
Gunjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150919/3f448d96/attachment.html 


More information about the Kernelnewbies mailing list