Is your feature request related to a problem? Please describe.
Currently, there is no simple way to enable or disable logging to a file in the command-line.
Describe the solution you'd like
Add a command-line option to enable or disable logging. By default, logging should be disabled. When logging is enabled, display a warning message.
Describe alternatives you've considered
Using environment variables to control logging, but this is less intuitive.
Is your feature request related to a problem? Please describe. Currently, there is no simple way to enable or disable logging to a file in the command-line.
Describe the solution you'd like Add a command-line option to enable or disable logging. By default, logging should be disabled. When logging is enabled, display a warning message.
Describe alternatives you've considered Using environment variables to control logging, but this is less intuitive.