example that compares to std logging
move stuff to constants, make more explicit refs in send.py