[pca] better logging [feature request]

Martin Paul martin at par.univie.ac.at
Fri Oct 7 11:25:12 CEST 2011


Hi Daniel,

> i'd welcome if pca could log own activities as well as patchadd
> activities in better way then current syslog possibility ..

Making PCA log more shouldn't be a problem, but what exactly would be useful? I 
wouldn't want to direct the complete debug output to syslog, so I need some 
input here.

Originally I restricted logging to the only thing where the system is actually 
modified - which is when a patch is installed.

> think about it please - i believe that some default /var/tmp/pca.log
> file will be appreciated by the most of folks.

I'm not keen on adding an extra logfile, me being a big fan of collecting all 
logging in syslog. As Glenn says, you can use syslog.conf to direct PCA's 
messages to a separate file, and you can set up log rotation in a way that log 
messages are kept forever.

Martin.



More information about the pca mailing list