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?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
WIKI
BLOG
Help
Search
Recent Topics
GoogleTagged
Login
Register
Logging, Syslog and Log Anaylsys Forums
>
Forums
>
syslog-ng
>
Simple syslog-ng file configuration confusion
Pages:
1
[
2
]
« previous
next »
Print
Author
Topic: Simple syslog-ng file configuration confusion (Read 1360 times)
capricorn80
Newbie
Offline
Posts: 28
Re: Simple syslog-ng file configuration confusion
«
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
Posts: 28
Re: Simple syslog-ng file configuration confusion
«
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
GoogleTagged:
syslog-ng day week config
syslog-ng maillog
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forums
-----------------------------
=> Syslog & syslogd
=> syslog-ng
=> Log Data and Analysis
=> Windows Event Log
=> Web Server Logs
=> Security Event Management
=> General Discussion
===> Red Light District
Loading...