syslog facility

Discussion of Transmission that doesn't fit in the other categories
Post Reply
Cadriel
Posts: 5
Joined: Tue Dec 15, 2009 4:22 am

syslog facility

Post by Cadriel »

Is there a way to force transmission logs to fire to a different log filename?

Or force transmission-daemon to log to a different facility?

I presume it logs to the daemon facility by default?

Reasoning being - im a stickler for clean logs, and would like to have transmission logging to a specific file instead.

Thanks!
Cadriel
Posts: 5
Joined: Tue Dec 15, 2009 4:22 am

Re: syslog facility

Post by Cadriel »

For now I've modified my syslog.conf to fire all daemon log's to /var/logs/daemon. This seems to do the trick since it appears not much else is logging to this facility.

It'd still be nice to define the facility that transmission log's to though. :)
chatainsim
Posts: 3
Joined: Wed Sep 16, 2009 9:08 pm

Re: syslog facility

Post by chatainsim »

Could you please give me your syslog.conf ?
Cadriel
Posts: 5
Joined: Tue Dec 15, 2009 4:22 am

Re: syslog facility

Post by Cadriel »

Code: Select all

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*                                                                 /dev/console

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none;daemon.none                    /var/log/messages

# The authpriv file has restricted access.
authpriv.*                                                              /var/log/secure

# Log all the mail messages in one place.
mail.*                                                                  /var/log/maillog

# Log cron stuff
cron.*                                                                  /var/log/cron

# Log daemon stuff (transmission)
daemon.*                                                                /var/log/daemon

# Everybody gets emergency messages
*.emerg                                                                 *

# Save news errors of level crit and higher in a special file.
uucp,news.crit                                                          /var/log/spooler

# Save boot messages also to boot.log
local7.*                                                                /var/log/boot.log
The 2 lines you really need to pay attention to are:

Code: Select all

*.info;mail.none;authpriv.none;cron.none;daemon.none                    /var/log/messages
daemon.*                                                                /var/log/daemon
Longinus00
Posts: 137
Joined: Fri Aug 21, 2009 5:46 am

Re: syslog facility

Post by Longinus00 »

transmission-daemon has the ability to specify an alternate logfile.

Code: Select all

  -e   --logfile              <filename>      Dump the log messages to this filename
Cadriel
Posts: 5
Joined: Tue Dec 15, 2009 4:22 am

Re: syslog facility

Post by Cadriel »

From 1.90 it does.

That post was made prior to 1.90.

And btw, thanks dev's for implementing this. ;)
Post Reply