kennethreitz/inbox.py — pull request #7 by rickysaltzer (2012-05-22 18:50:51+00:00)
Title: Added the log level argument to the parser (-l, --log) which by default ...

...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)