[syslog-ng]Re: syslog-ng

seberino@spawar.navy.mil seberino@spawar.navy.mil
Wed, 12 Feb 2003 11:16:53 -0800


I'm not that worried about missing stuff if syslog-ng
started late since I don't reboot that often.

Regardless, do you just start it with /path/syslog-ng & ???
...or... are there necessary command line switches you us
that are a good idea???

chris

On Tue, Feb 11, 2003 at 09:27:35PM -0500, Michael Rogan wrote:
> Chris,
> 
> That works but you may find some things don't get logged because it wasn't started earlier. 
> 
> You can create a script and put it in /etc/init.d/syslog-ng (check the syslog one on how to write start and stop scripts, basically just change syslog to syslog-ng). 
> 
> Put a comment near the top like 
> # chkconfig: 2345 20 80
> # description: Syslog-ng for logging
> 
> When you run 
> chkconfig --add syslog-ng
> 
> The comment tells it to put it in the init startups  2,3,4,5 and at level 20 (near the beginning of the boot process) and 80 at stop (near the end of the shutdown). 
> 
> You may want to do a 
> chkconfig --del syslog
> to stop syslog from starting. 
> 
> Michael
> 
> BTW: Do you guys get to use our devices there yet? Being in information systems to the Navy I would guess you would have seen them. 
> 
> Michael J. Rogan
> BlackBerry Engineering Supervisor
> Research In Motion
> www.rim.net
> www.blackberry.net
> 
> 
> 
> --------------------------
> Sent from my BlackBerry Wireless Handheld (www.BlackBerry.net)
> 
> 
> -----Original Message-----
> From: seberino@spawar.navy.mil <seberino@spawar.navy.mil>
> To: Michael Rogan <mrogan@rim.net>
> Sent: Tue Feb 11 20:04:43 2003
> Subject: syslog-ng
> 
> Michael
> 
> I saw your name on the syslog-ng mailing list
> and was hoping I could humbly ask you a newbie question about it
> if you don't mind.  I read manual and could not find
> this question answered...
> 
> Can I just start syslog-ng daemon from /etc/rc.d/rc.local
> (in Linux) like this...
> 
> 
> /usr/local/sbin/syslog-ng &
> 
> 
> i.e. 1. Do I need any switches on command line?
>      2. Is there any danger in not starting logging
>          sooner in boot process??
> 
> Thanks!
> 
> Chris
> 
> -- 
> _______________________________________
> 
> Dr. Christian Seberino
> SPAWAR Systems Center San Diego
> Code 2872
> San Diego, CA 92152-6147
> U.S.A.
> 
> Phone: (619) 553-9973
> Fax:
> Email: seberino@spawar.navy.mil
> _______________________________________

-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2872
San Diego, CA 92152-6147
U.S.A.

Phone: (619) 553-9973
Fax:
Email: seberino@spawar.navy.mil
_______________________________________