LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   managing the amount of data that is logged (https://www.linuxquestions.org/questions/linux-security-4/managing-the-amount-of-data-that-is-logged-526826/)

paranoid times 02-08-2007 02:54 PM

managing the amount of data that is logged
 
I was hunting for an email that had the address of a server I work with on it as the origin. However I couldn't find any mention of it in any of the logs. I expect that this is because the email sent out fine (or perhaps was a spoofed IP, thus was never at my server). What I am looking to do though is set the logging function such that every time an email is sent out it writes a line to the log so that I can figure out if the email actually went through my server. I have heard rumor of being able to adjust the amount of logging that happens for various things, though hunting about on the Internet I have come up with nothing.

Any help would be great. Thank you much,
Michael

stress_junkie 02-08-2007 06:00 PM

Controlling log levels is a pain in the neck because they are not usually application specific. Rather, you have logging "facilities" for various system components like the kernel.

You may find helpful information if you look up your application. I have found that applications that you would expect to create log entries, like firewall software, will usually tell you how it interfaces with the system logging facilities.

paranoid times 02-09-2007 02:23 PM

I'll check that out. Thank you for the direction.

M0E-lnx 02-09-2007 02:46 PM

I've hard people doing something like this using syslogd... never tried it myself though... it may be something you could look into


All times are GMT -5. The time now is 12:24 AM.