1836375 Members
2293 Online
110100 Solutions
New Discussion

syslog.conf

 
Andreas Vigano
Occasional Contributor

syslog.conf

Hi,
i want to put the MELs messages (ME10 license server) into a own mels.log file. How to configure the syslog.conf ?

Thanks
Andreas Vigano
3 REPLIES 3
Paula J Frazer-Campbell
Honored Contributor

Re: syslog.conf

Hi

See man syslogd for info on setting up the syslog.conf file.


Paula
If you can spell SysAdmin then you is one - anon
Shannon Petry
Honored Contributor

Re: syslog.conf

You can't do what you want!

If you read the man page, it will tell you the different levels of syslog. You can separate daemon, system, etc....and your app I am sure reports to eithere daemon or system.

Most apps can run their own logging facility though, so see the docs for your app!

Regards,
Shannon
Microsoft. When do you want a virus today?
Bruce Regittko_1
Esteemed Contributor

Re: syslog.conf

Hi,

You probably can do what you want but you will need to know first of all to which facility your application writes, i.e., daemon. Also, you will have to know what level(s) your application will write as well, such as warning, error, notice, etc.

You can have ALL messages directed to a particular facility of whatever level (and higher) sent to as many files as you want. The draw back is that there is no way for syslog to send only messages from your app. to the log file. All messages to the facility will be directed.

Check the docs with your app. If you are lucky, the facility may be local or perhaps it is configurable. Also see the man page for syslogd(1m) for information on how to configure syslog.conf.

--Bruce
www.stratech.com/training