I'm trying to use the Python logging framework. It works well except for one thing.
This sample code:
import logging
FORMAT = '%(asctime)-15s %(message)s'
logging.basicConfig(format=FORMAT, level=logging.INFO)
logging.info('test')
produces this output:
2014-03-18 11:23:43,082 test
Note the comma rather than "." separating seconds from milliseconds. We are in the USA and there should be a setting somewhere which controls this.
What can I set so that the default locale info uses a period "." for a decimal separator?