Page 1 of 1
syslog facility
Posted: Fri Feb 05, 2010 1:04 am
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!
Re: syslog facility
Posted: Fri Feb 05, 2010 2:40 am
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.

Re: syslog facility
Posted: Tue Feb 09, 2010 3:51 pm
by chatainsim
Could you please give me your syslog.conf ?
Re: syslog facility
Posted: Tue Feb 09, 2010 8:59 pm
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
Re: syslog facility
Posted: Sat Feb 20, 2010 8:46 pm
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
Re: syslog facility
Posted: Sat Feb 20, 2010 10:19 pm
by Cadriel
From 1.90 it does.
That post was made prior to 1.90.
And btw, thanks dev's for implementing this.
