python-coloredlogs
python-coloredlogs copied to clipboard
Colored terminal output for Python's logging module
Since you said, you wanted `coloredlogs` to be 'logging done right', I thought, you might appreciate this unanswered question I hand on [logging multiple similar messages](http://stackoverflow.com/questions/34090999/how-do-i-log-multiple-very-similar-events-gracefully-in-python). To summarize: Logging multiple...
I was trying to have a different color for my main logger name from it's libraries and discovered that [`set_level`](https://coloredlogs.readthedocs.io/en/latest/api.html#coloredlogs.set_level) is a culprit that causes log duplication. Is this a...
With the following settings in my log_config.json I am able to log DEBUG to console and DEBUG to a file (without coloredlogs installed). ```{ "version": 1, "disable_existing_loggers": true, "formatters": {...
Hi, happy new user of coloredlogs for its out of the box nice feature. please consider this use case: ``` In [1]: import coloredlogs In [2]: import logging In [3]:...
It would be great to be able to supply a logging module style config dictionary (loaded from yaml in my case) directly as an argument to coloredlogs.install(). Is this currently...
Using the following format string: ``` '%(asctime)s [%(levelname)-8s]: %(message)-160s [%(filename)s:%(funcName)s:%(lineno)d]' ``` You will get a different alignment on `info` than the other levels. I imagine this is due to the...
It is possible to completely integrate this wonderful package with django? I'm using this, but I've to change the `fmt` because the `hostname` for example doesn't get injected. ``` python...
An option to override default log format for different log levels is provided.
I am getting very janky behavior from this library. The closest thing I can get to it doing what I want is having a formatted message print verbosely through every...
use the package called pycolorio, its syntax is the same and works much better.