Python Logging Format Function In Power