Unit test for daemon logger factory.