move log initialization to Logging