Fixed a few issues with setting up logging

Signed-off-by: achbed <github@achbed.org>