CyberPunkMetalHead / gateio-crypto-trading-bot-binance-announcements-new-coins

This is a crypto trading bot that scans the Binance Annoucements page for new coins, and places trades on Gateio
MIT License
1.21k stars 303 forks source link

Reopen: logs are now placed in logging directory and split into daily files #74

Closed flumi3 closed 2 years ago

flumi3 commented 2 years ago

Reopen #71.

Since the size of the log file can be MASSIVE very quickly, it would be better to split them into several files and place them into a seperate folder.

With this change, log files are now split into daily files which means that there will be a log file for every day beginning on midnight. Also, the logs will now be placed into a seperate folder called "logs" with a date appendix.

DominicFrei commented 2 years ago

The bot.log is currently ignored via .gitignore. You might want to change that to the logs folder as well.

Jrjy3 commented 2 years ago

@flumi3 I agree, could you please add the whole logs folder to .gitignore before this is merged?