Comments (4)
my goal with this is to improve small Quality of life stuff with the bot this has been an annoyance for me for some time
from musicbot.
So Python logging does have a file handler that theoretically will do what you want, essentially making the log system handle rotation of the log files as-needed, but only triggered by logs being emitted in the first place rather than the current implementation in dev
which only bothers to rotate files at shutdown, when logging is finished.
from musicbot.
I will retract this because python run.py --logs-kept 100
suites my needs perfectly
from musicbot.
I will retract this because
python run.py --logs-kept 100
suites my needs perfectly
And for setting the date format using --log-rotate-fmt
you can use the table on this page to understand the '%' formats that are available for use: https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
from musicbot.
Related Issues (20)
- German translation HOT 1
- Issue with restart command HOT 2
- Bot can't start HOT 2
- Newly created application/bot in HOT 1
- Bot acts up due to TypeError HOT 3
- [ERROR:bot] Exception in on_message HOT 1
- Support slash commands HOT 1
- bot no worky because ytdl HOT 3
- [Feature Request] time and date based logging system HOT 7
- IndexError: list index out of range on Fedora 38 HOT 12
- Unable to queue playlist on Fedora 38 HOT 22
- Update Wiki to include Fedora 38 and Rocky Linux 9 documentation HOT 2
- RuntimeError: generator raised StopIteration
- You are attempting to import requests, or import a module that uses requests. Requests (or any module that uses requests) should not be used in this code. HOT 1
- New caching code doesn't work on Python 3.8 HOT 2
- Spotify playlists take time time to fetch, rendering !clear kinda useless. HOT 2
- [Feature Request] Stream support for playlists HOT 1
- Playlist take long to play if there are inaccessible videos HOT 5
- Add people to "User Blocklist" without pinging them HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from musicbot.