python-coloredlogs
python-coloredlogs copied to clipboard
Colored terminal output for Python's logging module
Are there any examples of changing colours? The official documentation seems to show everything as environment variables. How do you do this in code? Is it passed as a parameter...
Warehouse now uses the project_urls provided to display links in the sidebar on [this screen](https://pypi.org/project/requests/), as well as including them in API responses to help the automation tool find the...
Python 3.10 added a `defaults` argument to the [`Formatter.__init__`](https://github.com/python/cpython/blob/3.10/Lib/logging/__init__.py#L567) to enable you to use custom fields in the format string. Itʼd be nice if `ColoredFormatter` and `coloredlogs.install` supported this too.
First of all, this is a problem only affecting python2.7, so if you think it's no longer relevant, don't hesitate to close this issue. I thought that you might still...
Hello, Since Python 3.7 streams can be managed with [StreamHandler.setStream](https://docs.python.org/3/library/logging.handlers.html#logging.StreamHandler.setStream). Somewhere in my code, I'm setting a stream which raises the following error: ``` File "/Users/rfourcade/.pyenv/versions/3.7.9/lib/python3.7/logging/__init__.py", line 1050, in setStream...
The default log format misaligns log messages of different types: ``` 2015-10-23 03:32:22 peter-macbook coloredlogs.demo[30462] DEBUG message with level 'debug' 2015-10-23 03:32:23 peter-macbook coloredlogs.demo[30462] VERBOSE message with level 'verbose' 2015-10-23...
My application updated from 15.0.0 to 15.0.1 via a dependabot PR earlier today. This resulted in `click.testing.CliRunner` raising `ValueError: I/O operation on closed file.` ([logs](https://github.com/onicagroup/runway/runs/2802805895?check_suite_focus=true#step:10:10975)) in our tests. I would...
Hello, I just stumbled upon your package and really like it. Especially the extensive documentation. While reading said documentation I also realized though that something I'd like to do isn't...
I'm using coloredlogs (with python 2.7) in a project (https://github.com/openwsn-berkeley/openvisualizer) to color logs written to the terminal. On both Mac OSX and Linux everything works great, but on Windows 10...
I'm not sure if I'm being stupid and not reading the info correctly, but I will send this anyway. I use logging.basicConfig to output logs into a text file. However,...