Get rid of ugly globals in LoggingApp