Configuring Logging

EvalML uses the standard python logging package. By default, EvalML will log INFO-level logs and higher (warnings, errors and critical) to stdout, and will log everything to evalml_debug.log in the current working directory.

If you want to change the location of the logfile, before import, set the EVALML_LOG_FILE environment variable to specify a filename within an existing directory in which you have write permission. If you want to disable logging to the logfile, set EVALML_LOG_FILE to be empty. If the environment variable is set to an invalid location, EvalML will print a warning message to stdout and will not create a log file.