svlogd processor

From: Joe M <joe9mail_at_gmail.com>
Date: Tue, 5 Aug 2014 20:40:00 -0500

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

--qDbXVdCdHGoSgWSk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJT4YdwAAoJENvmPC7PRKkIozwQAK4O3ENyU0AJrK6u51OZ1iav
SWhJJlYWbR7157BtJb1q706hTC3aNNqolvd3256VyjVPBJj6JSQgxeMMWzYZj34w
TjR+Falx/vZe+8VenDb8jwd4PTIwoX1INbYYTzVHdpdvhX2Czs11zmkuGZmTVzNE
dI6OvywXWqulQOq6s37Jbbla5piUdBzpxGtiGSTFnmcWn3K1RxMIjch53ChiVviN
MUt4zj4h/tn92I6uRHUUJC6p93mJ3qiY55cWmVlrA7rRFG1unDLxoxQRvHw0EURc
eHvTnjs96IEa8lgOQsnKN1bzZF0JUZ1EVAWbpg+f5LEj0f8DYjWlSk08a9VPyyuF
WoV+0xC2KbqfXK2TEHSYAuxP8aeMxjyt1nkVBpDM00IiPQjcnmXC2qeyTepXy/f9
a2+kRsu9uyIhFZ9un/ew+K7CWbzA/5JlaT1mRkehFYN5laVZwLvIZ9XfFHg1SFfs
p8n2jf+rjvOIOKYHgWml79ur0zfLHWEkd+RaLI0xh69MRXEz8n4oA1t+QU/JfNen
V1FdO08pOmCod0j7IO4XZ9vi+F1BMx9kcnRvFe2GTGLpneHQECoKb3RjtKDl1e5C
3+tXE9HZ265bAOfwrdsM6UG937Q4unGkTGRSXsIHY0VojfH31TSGV++YEDutY9Y1
3lFvgbo4XU7LC6X5Ddhd
=Twe7
-----END PGP SIGNATURE-----

--qDbXVdCdHGoSgWSk--
Received on Wed Aug 06 2014 - 01:40:00 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:18 UTC