Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
@log4js-node/loggly
Advanced tools
Sends logging events to Loggly, optionally adding tags. This appender uses node-loggly-bulk. Consult the docs for node-loggly-bulk, or loggly itself, if you want more information on the configuration options below.
npm install @log4js-node/loggly
(This is a plug-in appender for log4js, so you'll need that as well)
type
- @log4js-node/loggly
token
- string
- your really long input tokensubdomain
- string
- your subdomainauth
- object
(optional) - authentication details
username
- string
password
- string
tags
- Array<string>
(optional) - tags to include in every log messageThis appender will scan the msg from the logging event, and pull out any argument of the
shape { tags: [] }
so that it's possible to add additional tags in a normal logging call. See the example below.
log4js.configure({
appenders: {
loggly: {
type: 'loggly',
token: 'somethinglong',
subdomain: 'your.subdomain',
tags: [ 'tag1' ]
}
},
categories: {
default: { appenders: ['loggly'], level: 'info' }
}
});
const logger = log4js.getLogger();
logger.info({ tags: ['my-tag-1', 'my-tag-2'] }, 'Some message');
This will result in a log message being sent to loggly with the tags tag1
, my-tag-1
, my-tag-2
.
FAQs
Loggly Appender for log4js-node
The npm package @log4js-node/loggly receives a total of 60 weekly downloads. As such, @log4js-node/loggly popularity was classified as not popular.
We found that @log4js-node/loggly 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.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.