Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
bunyan-amqp
Advanced tools
Readme
AMQP 0.9.1 compatible transport stream for use with the Bunyan logging library. Intended to be used with a RabbitMQ "topic" type exchange. Where the hostname becomes the first topic, the name of the Bunyan logger application is used as the secondary topic followed by the string log level. Example Topic: "My-MacbookPro.MyAppName.info". Has only been tested with RabbitMQ but it should be AMQP standards compliant.
TODO:
This package was created for use with microservices at my company. I would eventually like to make this more configurable for public consumption.
var Log = require('bunyan').createLogger({
name: 'MyAppName'
streams: [
{
stream: process.stdout,
level: 'trace',
},
{
type: 'raw',
level: 'debug',
stream: require('bunyan-amqp')({
host: '127.0.0.1',
port: 5672,
vhost: 'logger',
exchange: 'exchangeName',
queue: 'queueName',
username: 'username',
password: 'password',
}),
},
],
});
var ChildLog = Log.child({ module: 'MyAppNameChildModule' });
Log.info('Testing info level...');
Log.debug('Testing debug level...');
Log.fatal('Testing fatal level...');
ChildLog.info('Testing child info level...');
ChildLog.debug('Testing child debug level...');
ChildLog.fatal('Testing child fatal level...');
FAQs
ES6 AMQP transport stream for Bunyan logging library.
The npm package bunyan-amqp receives a total of 5 weekly downloads. As such, bunyan-amqp popularity was classified as not popular.
We found that bunyan-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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.