Thanks Eric, Can the output of qmlog redirected to some text file?
I am just trying to do the following, in /var/log/qmail/send/date, a user will enter the date in 'mmdd' format from webmin command editor. Then the following command is executed from the webmin qmlog -d `cat /var/log/qmail/send/date` send The output is different than running the same command from cli. Can we integrate this? If so we can implement the log analyser via webmin interface. Further when i tried to redirect the output to some file, it was also different(Like the output shown in the webmin) Thanks and Regards, S.Senthilvel, On Wed, May 27, 2009 at 9:40 PM, Eric Shubert <e...@shubes.net> wrote: > senthil vel wrote: >> >> Dear List, >> >> While checking the usage of the qmlog, i got the following. >> >> qmlog v0.3 - show current log of service 'service' >> usage: qmlog service [option] ... >> services: authlib clamd imap4 imap4-ssl pop3 pop3-ssl send smtp spamd >> submission >> options: >> -h[elp] this help >> -l[ist] list saved logs of service >> -f follow as it grows, using 'tail -f' >> -t N show (tail) last N lines >> -nl show without using less >> -nt show with no trimming >> -d mmdd[:hhmm][-mmdd[:hhmm]] >> show logs that contain the date 'mmdd' [thru -'mmdd'] >> -lc regex show logs that contain a string that matches 'regex' >> -ln pattern show logs with file name containing 'pattern' >> -s command pipe output through sed 'command' >> -g regex show only lines that match the string 'regex' >> >> Can we use the qmlog to check the log of last year? (I am having log >> files of year 2008 and i need to analyze it. Is it possible? >> >> Thanks and Regards, >> S.Senthilvel, >> > > Hmmm. I didn't think anyone would have more than one years worth of logs. I > think if you do > # qmlog -d 0528-1231 smtp > you'd get logs for the end of '08. > > -- > -Eric 'shubes' > > > --------------------------------------------------------------------------------- > Qmailtoaster is sponsored by Vickers Consulting Group > (www.vickersconsulting.com) > Vickers Consulting Group offers Qmailtoaster support and installations. > If you need professional help with your setup, contact them today! > --------------------------------------------------------------------------------- > Please visit qmailtoaster.com for the latest news, updates, and packages. > To unsubscribe, e-mail: > qmailtoaster-list-unsubscr...@qmailtoaster.com > For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com > > > --------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com