View previous topic :: View next topic |
Author |
Message |
wallace1819 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 17 Aug 2002 Posts: 195 Location: VT
|
Posted: Mon Apr 05, 2004 8:09 pm Post subject: syslog-ng default level |
|
|
does the following catch every thing or is there a default logging level for syslog-ng that my be weeding out stuff. My logs seem unusually quiet.
Code: | options {
long_hostnames(off);
sync(0);
stats(43200);
};
source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); };
destination messages { file("/var/log/messages"); };
log { source(src); destination(messages); };
|
wally |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
foton2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Cars/7.gif)
Joined: 23 Feb 2004 Posts: 347 Location: Prague, Czech Republick
|
Posted: Mon Apr 05, 2004 8:21 pm Post subject: |
|
|
It looks good. Everything to /var/log/messages.
Quote: | My logs seem unusually quiet. |
Which logs are you missing ? _________________ Pentium4 2.4Ghz 533Mhz, Intel® Desktop Board D845GEBV2 + LAN, 768MB DDR 266Mhz RAM, 80GB Seagate Barracuda 7200.7, NVIDIA GeForce4 MX 440, SB Live! 5.1, TEAC CD-552E, TEAC DW-548D, Packard Bell 1512SL Monitor, HP DeskJet 640C, Opti UPS PowerPS 800ps. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wallace1819 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 17 Aug 2002 Posts: 195 Location: VT
|
Posted: Mon Apr 05, 2004 8:33 pm Post subject: |
|
|
not sure anything is missing... first time I have used syslog-ng and I'm a little parranoid about using a new logger on a new box. Just wanted to make sure that there was no default logging level of like warn or something. Just paranoid I guess...
BTW...
been reading up on the $YEAR, $DAY, $MONTH varables in syslog-ng for doing archiving. Anyone know a way to archive by week? I don't generate enough logs to warrent daily rotation and monthly is too long... monthly the thought just gives me the creeps!
I use to use logrotate but that d@mn thing wreaks havoc on vixie-cron!
thx,
wally |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|