Hello,

I cannot get the svlogd processor to work. Can you please help? I also
could not figure out where the svlogd "-v" verbose writes the output.

This is my config:

cat config
# Log a MB per-file, keep last ten files

s1000000
n10
!"set -o verbose; set -o xtrace; /usr/bin/tai64nlocal"
# got the above from http://lateral.netmanagers.com.ar/stories/36.html


This is my run:

cat run
#!/bin/sh

SVNAME=crond

if [ ! -d /var/log/$SVNAME ]
then
        mkdir /var/log/$SVNAME
        chown root.users /var/log/$SVNAME
        chmod 750 /var/log/$SVNAME
fi

exec /sbin/svlogd -v -t /var/log/$SVNAME

# got the above from http://lateral.netmanagers.com.ar/stories/36.html

I sent a kill -ALRM to the log process and can see the log files
rotated. But, the rotated log file still has the "-t" timestamp
prefixed lines and not the replaced tai64nlocal output.

Any thoughts, please?

Thanks
Joe

Attachment: signature.asc
Description: Digital signature

Reply via email to