python logging format string example