Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
syslog-ng default level
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wallace1819
Apprentice
Apprentice


Joined: 17 Aug 2002
Posts: 195
Location: VT

PostPosted: Mon Apr 05, 2004 8:09 pm    Post subject: syslog-ng default level Reply with quote

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
View user's profile Send private message
foton2
Guru
Guru


Joined: 23 Feb 2004
Posts: 347
Location: Prague, Czech Republick

PostPosted: Mon Apr 05, 2004 8:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
wallace1819
Apprentice
Apprentice


Joined: 17 Aug 2002
Posts: 195
Location: VT

PostPosted: Mon Apr 05, 2004 8:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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