picologging icon indicating copy to clipboard operation
picologging copied to clipboard

An optimized logging library for Python

Results 47 picologging issues
Sort by recently updated
recently updated
newest added

Closes https://github.com/microsoft/picologging/issues/83

I noticed this issue while working on the QueueHandler. The following test succeeds with CPython logging but fails with picologging: ``` def test_queue_handler_dispatch(): logger = picologging.Logger("test", picologging.DEBUG) q = queue.Queue()...

cpython-incompatibility

To enable easier testing in pytest, it'd be useful if we supported a fixture similar to caplog. https://github.com/pytest-dev/pytest/blob/63d2f7f7f8ec8b09c4289f18a94178c520d93bff/src/_pytest/logging.py#L491 We can register the hook in setup.py to avoid creating a whole...

CPython Logger supports weak reference, picologging Logger does not. Supporting weakreference is fairly straightforward: https://docs.python.org/3.10/extending/newtypes.html#weak-reference-support I tested that change locally and it works. I haven't been able to ascertain how...

enhancement
good first issue
help wanted
cpython-incompatibility

CPython logging has: https://docs.python.org/3/library/logging.handlers.html#httphandler picologging does not. Bug or limitation?

good first issue
help wanted
cpython-incompatibility

In CPython, logging.raiseExceptions is a Boolean on the module, described in the handleError docs: https://docs.python.org/3/library/logging.html#logging.Handler.handleError picologging does not have that Boolean/way of effecting whether errors are raised. Limitation or bug?

good first issue
help wanted
cpython-incompatibility

CPython logging has: https://docs.python.org/3/library/logging.handlers.html#sysloghandler picologging does not. Bug or limitation?

good first issue
help wanted
cpython-incompatibility

logging module has one: https://docs.python.org/3/library/logging.html#loggeradapter-objects picologging does not. Limitation or bug?

good first issue
help wanted
cpython-incompatibility

``` * TODO : Cap vector size or decide on a better map type. ``` https://github.com/microsoft/picologging/blob/943f82fb2f52b20b8e351cbbe0afdf94bdae5f30/src/picologging/logrecord.cxx#L15

good first issue
help wanted

CPython logging has a shutdown function: https://docs.python.org/3/library/logging.html#logging.shutdown The documentation describes it as taking 0 arguments, but it actually takes a handlers argument which defaults to the module internal _handersList, a...

help wanted
cpython-incompatibility