Is RT's syslog facility "RT" (as in RT.info, RT.warn, etc)?

Is RT’s syslog facility “RT” (as in RT.info, RT.warn, etc)?

I need to know in order to set up a dedicated syslog log…

Thanks!

Chago

RT’s syslog facility is Log::Dispatch::Syslog default one : “user”. (You
should look for InitLogging sub in lib/RT.pm).

Adolfo Santiago a écrit :

Is RT’s syslog facility “RT” (as in RT.info, RT.warn, etc)?

I need to know in order to set up a dedicated syslog log…

Thanks!

Chago


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Guillaume Perréal.

Responsable informatique,
Cemagref, groupement de Lyon,
France.

Tél: (+33) 4.72.20.87.87.
Fax: (+33) 4.78.47.78.75.
Site: http://www.lyon.cemagref.fr/

Adolfo Santiago wrote:

Is RT’s syslog facility “RT” (as in RT.info, RT.warn, etc)?

I need to know in order to set up a dedicated syslog log…

defining a new syslog facility is not trivial. You have to inform the
syslog daemon(s) involved about the new facility. This means if you
have a syslog system you need to update it as well.

What I meant to say was a separate log just for that facility, not create a
new facility. Sorry about the confusion.

I have separate logs for each of the facilities. For example:

/var/log/kernel
/var/log/user
/var/log/local7
/var/log/mail (this is a common facility-specific log file)

I wanted to know which facility RT was logging to so I could “tail” that log
file. Another posted indicated the facility used by RT is “user”, so now I
keep an eye on my brand new RT installation by “tail -f /var/log/user”.

Chago