fixing logging in elk-cli