Gary McCormack
04/17/2023, 3:56 PMconf/base/logging.yaml
by default (please correct me if I'm wrong), so I would have thought that I would need to create my own custom logger. If I remove the logging conf file however then this raises an exception (ValueError: dictionary doesn't specify a version
). Any suggestions or advice on how to get setup a custom logger to run on Kedro would be great!Antony Milne
04/18/2023, 10:05 AMconf/base/logging.yml
to achieve this. The format of this file is actually nothing to do with Kedro - it’s just Python’s logging dictionary schema. The reason for the ValueError
is that you’re missing the version
key, which is compulsory.TimedRotatingFileHandler
might do what you need though 🙂 https://docs.python.org/3/library/logging.handlers.html#timedrotatingfilehandlerGary McCormack
04/18/2023, 10:10 AM