Fixed segfault in logger driver when daemon terminates prematurly.