inbox.py icon indicating copy to clipboard operation
inbox.py copied to clipboard

Added the log level argument to the parser (-l, --log) which by default ...

Open rickysaltzer opened this issue 12 years ago • 2 comments

...is INFO. The reason for this is to disable DEBUG level logging by default, since a performance degradation was found when collating large volumes of incoming messages.

Additionally, both the address and port arguments were given the (-a, --addr // -p, --port) argument options and were both set to required.

A basic call to dispatch would look like

$ python dasinbox.py --addr 0.0.0.0 --port 4467 --log info or $ python dasinbox.py -a 0.0.0.0 -p 4467 -l info

Of course, INFO can be replaced with the following choices (critical, error, warning, notice, info, debug)

rickysaltzer avatar May 22 '12 18:05 rickysaltzer

Bump. I think this is interesting as my log files are full of email bodies and growing pretty big.

n3storm avatar Nov 27 '14 11:11 n3storm

This has been hanging around for quite some time @kennethreitz - any plans on merging it in? :)

waynew avatar Aug 02 '16 11:08 waynew