This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
MasterHamsterKombatBot Logging #301
Closed
tboy1337
started this conversation in
Show and tell
Replies: 1 comment
-
Stop creating issue/discussion about this shit. I never add this to the project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Local logging code for MasterHamsterKombatBot, at the beginning of each week (Monday) the bot will zip the old log file and create a new one to reduce the file size by approximately 90%, the log file location is Logs/output.log. Also the zipped logs get their name changed to the date and time they are being zipped so there isn’t any conflict with new zipped logs, tested fully working.
If anyone wants to use it replace main.py with main.py in my test branch.
Previous discussion thread #147.
Beta Was this translation helpful? Give feedback.
All reactions