[syslog-ng]Please help with simple syslog-ng.conf creation qu estions....

Hamilton, Andrew Andrew.Hamilton@afccc.af.mil
Thu, 30 Jan 2003 14:14:27 -0500


Nope.  But you can do this:

source s_all{ unix-stream("/dev/log"); internal(); };
destination d_messages { file("/var/log/messages"); };

log { source(s_all); destination(d_messages); };

That should do it.  If you are using Solaris you should use

source local { sun-streams("/dev/log" door("/etc/.syslog_door"));
internal(); };

Look in the syslog-ng/doc directory for sample configs.


Regards,

Drew

-----Original Message-----
From: seberino@spawar.navy.mil [mailto:seberino@spawar.navy.mil]
Sent: Thursday, January 30, 2003 2:01 PM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]Please help with simple syslog-ng.conf creation
questions....


configure;make;make install  of syslog-ng source did not create
/etc/syslog-ng directory with
/etc/syslog-ng.conf ready to go.

I assume I must create this directory and file
myself???

syslog-ng has *tons* of features.  Please tell
me how I can just throw everything into /var/log/messages.
I don't require fancy stuff just yet.

In old syslog.conf this would be:

   *.info	   /var/log/messages

Will syslog-ng recognize a one line syslog-ng.conf
containing this old style config???

thanks,

Chris
-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
49590 Lassing Road, Room A339
San Diego, CA 92152-6147
U.S.A.

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

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html