Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 10:00:05 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
   Home   WIKI BLOG Help Search Recent Topics GoogleTagged Login Register  
Pages: 1 [2]
  Print  
Author Topic: Simple syslog-ng file configuration confusion  (Read 1360 times)
capricorn80
Newbie
*
Offline Offline

Posts: 28


View Profile
« Reply #15 on: February 28, 2010, 04:14:26 pm »

Thanks a lot for your help. Let me test few things and I will come back with my question later.
Logged
capricorn80
Newbie
*
Offline Offline

Posts: 28


View Profile
« Reply #16 on: March 29, 2010, 12:18:13 pm »

Hi again!

So by using

destination local_log {
          file ("/var/log/syslog-ng/$YEAR.$MONTH.$DAY/$HOST/$FACILITY.log");

We are getting rid of all the lines below:

destination d_auth  { file("/var/log/secure"); };
destination d_boot  { file("/var/log/boot.log"); };
destination d_cron  { file("/var/log/cron"); };
destination d_kern  { file("/var/log/dmesg"); };
destination d_mesg  { file("/var/log/messages"); };

Is that right ?

Regards,

Logged
Pages: 1 [2]
  Print  

 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!