People often do not use Python logging due to the setup cost. Hydra solves that by configuring the Python logging for you.
By default Hydra logs at the INFO level to both console and a file.
Example of logging with Hydra:
You can enable DEBUG level logging from the command line by overriding
hydra.verbose can be a Boolean, a String or a List:
hydra.verbose=true: Set all loggers log level to
hydra.verbose=__main__: Set the
__main__logger log level to
hydra.verbose=[__main__,hydra]: Set the log levels of the loggers
__main__and hydra log to
Logging can be customized.