python logging custom formatter example