
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).
Logging GELF
.. image:: https://img.shields.io/pypi/v/logging-gelf.svg :target: https://pypi.python.org/pypi/logging-gelf/ :alt: Latest Version
.. image:: https://github.com/ovh/python-logging-gelf/actions/workflows/test.yml/badge.svg :target: https://github.com/ovh/python-logging-gelf/actions/workflows/test.yml :alt: Build Status
.. image:: https://readthedocs.org/projects/logging-gelf/badge/?version=latest :target: http://logging-gelf.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
A python logging bundle to send logs using GELF. This is a rewrote of Djehouty <https://github.com/ovh/djehouty>
_
First, install logging-gelf using pip <https://pip.pypa.io/en/stable/>
_::
pip install -U logging-gelf
The following example shows how to send log in Graylog TCP input
.. code-block:: python
import logging
from logging_gelf.formatters import GELFFormatter
from logging_gelf.handlers import GELFTCPSocketHandler
logger = logging.getLogger("gelf")
logger.setLevel(logging.DEBUG)
handler = GELFTCPSocketHandler(host="127.0.0.1", port=12201)
handler.setFormatter(GELFFormatter(null_character=True))
logger.addHandler(handler)
logger.debug("hello !")
Logging adapter, extra, custom schema and many other stuff are available in the full documentation available at http://logging-gelf.readthedocs.io/ .
Licensed under BSD 3-Clause License <./LICENSE>
_ or https://opensource.org/licenses/BSD-3-Clause.
FAQs
Logging bundle to send logs using GELF
We found that logging-gelf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.