|
From: Leif M. <le...@ta...> - 2006-05-11 03:36:04
|
Bruce,
I will admit some ignorance in this area. Currently I am using the
LOG_USER
facility. The code is as follows:
openlog( loginfoSourceName, LOG_PID | LOG_NDELAY, LOG_USER );
syslog( eventType, "%s", szBuff );
closelog( );
Looking at the man page for openlog I see a large number of facility
values.
What do you suggest here? Would making it possible to configure any of them
be recommended? Setting the facility appears to decide which log file
the message
ends up in.
How do you normally configure a remote logging host.
Cheers,
Leif
Bruce Pennypacker wrote:
> I see that there are two properties relating to syslog logging:
> wrapper.syslog.ident and wrapper.syslog.loglevel. But what facility
> is used for syslogging? Is it possible to set a custom facility, or
> even better specify a remote logging host? We have a loghost that
> collects syslogs from all our hosts & applications. We'd like to
> include service wrapper logs in this collection.
>
> -Bruce
>
|