qmlog doesn't whittle down log files. It simply shows you the file(s) containing that date range. You'll probably get a bit more depending on how your log files happen to rotate.

FWIW, I'm leaning heavily toward redoing QMT logging in the next major release (perhaps this fall).

--
-Eric 'shubes'

On 03/12/2014 08:02 AM, Scot Needy wrote:


That is wrong with this ?



[BASH]# qmlog spamd -d 0311:1800-0311:1820

Gives me the entire day



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'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to