LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   What logging software do you recommend? Or should I just write a script? (https://www.linuxquestions.org/questions/linux-software-2/what-logging-software-do-you-recommend-or-should-i-just-write-a-script-624541/)

bskrakes 02-28-2008 01:32 PM

What logging software do you recommend? Or should I just write a script?
 
Hello wonderful world of UNIX/Linux users!

For a while now I have been without any logging other than the basic system logs which really are the best. However I am looking to customize my logs.... I know that I can write a script but I was hoping that someone might know of a good GNU program that allows you to pick the logs files you want to view most often and have them e-mailed to you on daily, weekly, monthly or yearly basis.

Any input or advice would be great! THANK YOU.

jailbait 02-28-2008 01:39 PM

Quote:

Originally Posted by bskrakes (Post 3072952)

someone might know of a good GNU program that allows you to pick the logs files you want to view most often and have them e-mailed to you on daily, weekly, monthly or yearly basis.

The logrotate command will do that. You probably have the logrotate command installed on your system. You probably can do what you want by adding entries to the logrotate config file. See:

man logrotate

---------------------
Steve Stites

Tinkster 02-28-2008 01:55 PM

Quote:

Originally Posted by bskrakes (Post 3072952)
Hello wonderful world of UNIX/Linux users!

For a while now I have been without any logging other than the basic system logs which really are the best. However I am looking to customize my logs.... I know that I can write a script but I was hoping that someone might know of a good GNU program that allows you to pick the logs files you want to view most often and have them e-mailed to you on daily, weekly, monthly or yearly basis.

Any input or advice would be great! THANK YOU.

Possibly not quite what you're after, but I'm very fond of
it...

LogSurfer

It goes over and above your request in that you can filter
WHAT PART of a log (e.g. which type of messages) you're keen
to be sent ... in combination with centralised logging via
syslog-ng it's a very potent solution to log monitoring even
in large(ish) installations.


Cheers,
Tink


All times are GMT -5. The time now is 11:36 PM.