Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@curve-technology/log4js-datadog
Advanced tools
A basic Datadog appender for log4js.
npm install @curve-technology/log4js-datadog
The log4js-datadog appender enables the forwarding of log4js log events to Datadog. It has been specifically created for use in Auth0 action scripts and rules. To use this appender, simply include it in the list of appenders in the log4js configuration, and provide the relevant Datadog configuration details.
Note that message tags can be included in log events using DataDogTags
:
log4js.configure({
"appenders": [
{
type: "@curve-technology/log4js-datadog",
apiKey: "datadog-api-key",
intakeHost: "tcp-intake.logs.datadoghq.eu:443",
errorHandler: e => console.log(e),
category: "cheese",
source: "some-source",
},
]
});
const logger = log4js.getLogger("cheese");
logger.info("Started cheese course", {tags: {env: "dev", severity: 3}}, "cheese selected", {tags: {"cheese": "epoisses"}});
In addition to the standard log appender configuration options, the log4js-datadog appender requires DataDog specific settings:
apiKey
The Datadog API key for your organisationintakeHost
The Datadog TCP log forwarding endpoint, including the port numbererrorHandler
(optional) Handler that will be called when an error occurs with sending a log even to Datadog. Note that by default such errors will be ignoredhostname
(optional) The hostname that should appear in log messages. Defaults to the system hostnameMIT
FAQs
Datadog appender for log4js
The npm package @curve-technology/log4js-datadog receives a total of 0 weekly downloads. As such, @curve-technology/log4js-datadog popularity was classified as not popular.
We found that @curve-technology/log4js-datadog demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.