Fixes problem gen_log outside of cli-tools