python-json-logger icon indicating copy to clipboard operation
python-json-logger copied to clipboard

Json Formatter for the standard python logger

Results 65 python-json-logger issues
Sort by recently updated
recently updated
newest added

Please update the html to Refer To : https://github.com/pypa/pip/issues/10825

It would be nice to have a default formatter (Inheriting from JsonFormatter) which includes all possible logRecord fields in the formatted json without the need to specify them explicitly.. This...

Add type hints to all (public API) code make the distribution PEP 561 compliant. This allows `mypy` (and other tools?) to find the type hints and use them in linting....

I use `pythonjsonlogger` for gunicorn by setting `--log-config gunicorn_logging.conf` when calling gunicorn. I get a JSON log message: ``` {"asctime": "2020-12-07 02:36:29,798", \ "name": "gunicorn.access", \ "levelname": "INFO", \ "message":...

seems only cloud provider (datadog, google log, etc) provides a nice interface for interacting with the json log) is there any tool on local that supports those visualizations and interaction?

I need to have a JSON string in logs, that contains `timestamp` and log level (`INFO`, `WARNING`, etc), and I want to see timestamp as first element of JSON object....

After updating macOS to Monterey v12.0.1 (21A559) I've faced a problem while installing `python-json-logger` What I wanted to do: ```bash pipenv install python-json-logger ``` The output: ```bash Locking [packages] dependencies......

How can I avoid including `message` field in every log by default? By logging a dict like: ``` a = {'foo': 'bar'} logger.info(a) ``` I get the following output ```...

I read in [this][1] tutorial that, by default, the log messages captured in stdout and stderr aren't captured with severity metadata. So, if I set stdout as the only handler...

I have a custom class that I'm trying to log: ```python class NameMatchDiagnostic(): def __init__(self): self.row_data = {"key", "value"} self.table = "string" self.action = "string" self.db_record = {"key", "value"} self.top_matches...