
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
|Travis| |Appveoyr| |Codecov| |QuantifiedCode| |Pyup| |Gitter| |Readthedocs|
.. |Pyup| image:: https://pyup.io/repos/github/jaantollander/loggingtools/shield.svg :target: https://pyup.io/repos/github/jaantollander/loggingtools/ :alt: Updates
.. |QuantifiedCode| image:: https://www.quantifiedcode.com/api/v1/project/2eae31e4b5ce4a96b01394a3337a9fde/badge.svg :target: https://www.quantifiedcode.com/app/project/2eae31e4b5ce4a96b01394a3337a9fde :alt: Code issues
.. |Travis| image:: https://travis-ci.org/jaantollander/loggingtools.svg?branch=master :target: https://travis-ci.org/jaantollander/loggingtools :alt: Travis continuous intergration
.. |Appveoyr| image:: https://ci.appveyor.com/api/projects/status/4ix406f1jpgj952t?svg=true :target: https://ci.appveyor.com/project/jaantollander/loggingtools :alt: Appveoyr continuous intergration
.. |Codecov| image:: https://codecov.io/gh/jaantollander/loggingtools/branch/master/graph/badge.svg :target: https://codecov.io/gh/jaantollander/loggingtools :alt: Codecov coverage hosting
.. |Gitter| image:: https://badges.gitter.im/loggingtools/Lobby.svg :alt: Join the chat at https://gitter.im/loggingtools/Lobby :target: https://gitter.im/loggingtools/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
.. |Readthedocs| image:: https://readthedocs.org/projects/loggingtools/badge/?version=latest :target: http://loggingtools.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
setup_logging
.. code-block:: python
import logging from loggingtools import setup_logging setup_logging('logging.yml') logger = logging.getLogger('<your_logger>') ...
log_with
.. code-block:: python
import logging from loggingtools import log_with
... # setup your loggers
logger = logging.getLogger('<your_logger>')
@log_with(logger) def function(arg, arg2): ...
Loggingtools can be installed through pip
using command
.. code-block:: bash
pip install loggingtools
::
loggingtools config
Command line arguments
-n, --filename=logging Filename for logging configuration -f, --fileformat=yml Fileformat: {yml, json}
FAQs
Python logging dictionary configuration from yaml, json or dictionary.
We found that loggingtools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.