Handling non-cli logging