Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
log4js-node-amqp
Advanced tools
An AMQP appender for log4js-node
This is a log4js appender which uses the awesome node-amqp package at: https://github.com/postwait/node-amqp
var log4js = require('log4js');
var amqpAppender = require('log4js-node-amqp');
// configure in code
log4js.addAppender(
amqpAppender.appender({
// more config options available
connection: {
url: "amqp://guest:guest@vm:5672"
}
}),
'amqp-example'
);
var logger = log4js.getLogger('amqp-example');
logThings();
log4js.clearAppenders();
// or configure via configure()
log4js.configure({
appenders: [
{
type: 'console'
},
{
type: 'log4js-node-amqp',
connection: {
url: "amqp://guest:guest@vm:5672"
},
category: 'amqp-example'
}
]
});
var logger = log4js.getLogger('amqp-example');
logThings();
process.exit();
function logThings() {
// strings work
logger.info('a string of log data.');
// so do objects
logger.info({name: 'a string', type: 'a silly example'});
}
The MIT License Copyright (c) 2013 Max Nachlinger
FAQs
An AMQP appender for log4js-node
The npm package log4js-node-amqp receives a total of 2 weekly downloads. As such, log4js-node-amqp popularity was classified as not popular.
We found that log4js-node-amqp 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.