python configure logging for project