added log initialization to greydb