[pca] better logging [feature request]

dpecka dpecka at techniservit.cz
Fri Oct 7 11:56:59 CEST 2011


well, it was only proposal .. i know that i can do it by syslog but
we're using pca also in prod and on many hosts and it's sometimes tricky
to convince managers that we want to modify syslog on 100 servers ..

well sure, we can use pca|tee but i think that if pca logs by default
(no additional config) to somewhere it could be useful ... also
posibility to split pkgadd log and pca own log sounds reasonable to
me ..

regards, d

On Fri, 2011-10-07 at 11:25 +0200, Martin Paul wrote:
> 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.
> 
-- 
Best Regards / S Pozdravem

Daniel Pecka
--------------------------------------------------
SunOS Specialist, UNIX Administrator

www.techniservit.cz

mailto:<dpecka at techniservit.cz>
callto:<+0420603166533>




More information about the pca mailing list