>> Hi, >> thanks for help. the commands you suggested will be great for me. >> But i >> move logfiles periodically at another machine which may not be >> necessarily a linux machine(can be windows :( ), plus daemontools >> might not be installed on it. Also my supervisor needs to view >> logfiles himself sometimes, and he wants human readable time >> stamps.:(:(. > So you have a solution now, after all - multilog is rotating log files > when they reach 240**** something, depends how your logging settings > are configured. However, if freebsd/bsd - use newsyslog. Otherwise > write a small script that rotates the log files at midnight and > converts it to a human readable format.. something like.. > > svc -d /service/* > in a loop: > mv %logfile /var/log.db/%log-%data > bzip it(for max compression) > touch %logfile >
Thanks, I can do it through a script. I was just hoping that there might be a way within multilog to convert timestamps to human readable form automatically. Otherwise i can write a script for that. Anyway, thanks for your hints. > and stick it in the cron tab file.. anyways.. you got the drift. > after converted email them to your boss/supervise.. its amazing how > computer illiterated are most of the IT managers? g`luck. > He is not that illiterate :). He just want me to do it for him. Also 'tai64nlocal' binary cannot be installed on every machine on our network. So we have to do something for future easeness. :-). > take care, > -lou > >> Thats why i still need some method to write human readable >> timestamps in >> logfiles directly.. >> >> Thanks again for help. > -- > Regards, > Lou Kamenov > [ Network Infrastructure/Security Analyst ] > [ AEYE R&D - http://www.aeye.net ] > [ AEYE Commercial - http://www.aeye-web.com ] I am also getting spam mails. One mail from "Webstream" always come to my inbox whenever i post a message to this list. That mails says "we have sent this mail to you because you mailed us" :-o . -- Syed Qutubuddin Ahmad Network Engineer CubeXS Private Limited.
