fix exception KeyError: "Attempt to overwrite 'message' in LogRecord".
use as separate module, not package