what is the best way to overwrite instead of appen...
# questions
g
what is the best way to overwrite instead of appending the log files? my
logging.yml
looks like this EDIT: just adding
mode: w
did the trick
h
Someone will reply to you shortly. In the meantime, this might help:
n
Noted that you may not want to just overwrite in every run, since you want to keep records for more than a single run. What may be better is to keep a rotating log file which will automatically create a new file when it's getting too big. If it's ergonomic for you, you can also have a separate log file that only keep the last run.