Is there any way to use the logging module adding nothing to a message
I want to use Python to handle the stdout logging that comes from
When you run syncthing it logs to stdout in a fairly standard format
with date, time, ERROR/WARNING/INFO etc. so I don't want to add these.
I just want to be able to write the log to a file with appropriate
If I do:-
f = logging.handlers.RotatingFileHandler("/home/chris/tmp/mail.log", 'a', 1000000, 4)
formatter = logging.Formatter('%(message)s')
Will I get just the message with no extras added by the logging module?