i need a perl script which can grep errors and warnings

Need help with C, C++, perl, python, etc?

i need a perl script which can grep errors and warnings

Postby raghu_p » 2006-11-20 07:10

hi,
i need a perl script which can grep errors and warnings and put them in a seperate file like error.log and warning.log.
raghu_p
 

Postby shoof » 2006-11-20 22:33

If the info your trying to seperate is already coming into syslog, you can just use syslog to log to different files based on the facility. ie.. warn,error,critical
shoof
 
Posts: 379
Joined: 2006-09-08 20:41
Location: My chair


Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable