[pca] better logging [feature request]

Glenn Satchell glenn.satchell at uniq.com.au
Fri Oct 7 01:50:01 CEST 2011


On 10/07/11 01:52, dpecka wrote:
> hello martin,
>
> i'd welcome if pca could log own activities as well as patchadd
> activities in better way then current syslog possibility ..
>
> think about it please - i believe that some default /var/tmp/pca.log
> file will be appreciated by the most of folks.
>
> ave, daniel
>
Hi Daniel

You can do this already. Direct the syslog to a spare syslog facility 
setting, then in /etc/syslog.conf direct this to your preferred log file.

On my systems in pca.conf I have

syslog=local6.notice

and in /etc/syslog.conf (you must use tabs not spaces here)

# PCA
local6.debug                                    /var/log/patchlog

-- 
regards,
-glenn
--
Glenn Satchell                            |  Miss 9: What do you
Uniq Advances Pty Ltd, Sydney Australia   |  do at work Dad?
mailto:glenn.satchell at uniq.com.au         |  Miss 6: He just
http://www.uniq.com.au tel:0409-458-580   |  types random stuff.



More information about the pca mailing list