Menu

#29 avoid unnecessary log lines

open
nobody
None
5
2018-11-19
2017-08-17
No

Please allow us to skip unnecessary lined from logs. Examples:

SARG: No records found
SARG: End
SARG: Period covered by log files: 16/08/2017-16/08/2017

Discussion

  • Frederic Marchal

    Can you achieve the requested result by redirecting the output to /dev/null:

    sarg [usual args] > /dev/null
    
     
  • m.

    m. - 2018-11-19

    Not sure if this request covers sarg-reports, but I think it would be sufficient to modify the "grep -v" expression to "grep -v -E" so that one could concatenate multiple regexps in EXCLUDELOGS[12] variable.

     

Log in to post a comment.

MongoDB Logo MongoDB