|
From: Tony M. <to...@sp...> - 2011-08-31 05:13:55
|
> is it possible, that pyzor writes in a logfile.
> E.g. /var/log/pyzor.log?
> I cannot find any possibilites about that.
Yes:
~$ pyzor --help
Usage: pyzor [options]
Read data from stdin and execute the requested command (one of 'check',
'report', 'ping', 'digest', 'predigest', 'genkey').
Options:
-h, --help show this help message and exit
-n NICE, --nice=NICE 'nice' level
-d, --debug enable debugging output
--homedir=HOMEDIR configuration directory
-s STYLE, --style=STYLE
input style: 'msg' (individual RFC5321 message),
'mbox' (mbox file of messages), 'digests' (Pyzor
digests, one per line).
--log-file=LOGFILE name of log file
--servers-file=SERVERSFILE
name of servers file
--accounts-file=ACCOUNTSFILE
name of accounts file
-t TIMEOUT, --timeout=TIMEOUT
timeout (in seconds)
It's likely to be more convenient to put the log-file option in your configuration file than specifying it on the command-line every time.
Cheers,
Tony
|