ronaldlam / Autotrageur

Automated arbitrageur
2 stars 1 forks source link

Logging #113

Closed ronaldlam closed 6 years ago

ronaldlam commented 6 years ago

57

ronaldlam commented 6 years ago

For testing, I think this is mostly direct use of a system lib. The one place would be the logic in run_autotrageur.py where you can make sure that appropriate things are set and cleaned up.

jaonewguy commented 6 years ago

I am cool with just having tests in the run_autotrageur section.

ronaldlam commented 6 years ago

The file being written to is always named as the base name, right now <the current datetime>.log. The zipping part will filter for the older ones, formatted <the current datetime>.log.<rollover datetime>. In reality it searches for the .log. string.