
Research
/Security News
Coruna Respawned: Compromised art-template npm Package Leads to iOS Browser Exploit Kit
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.
node-graylog
Advanced tools
用于设置全局配置
const LoggerFactory = require('node-graylog');
// 设置全局配置
LoggerFactory.globalConfig({
file: 'app.log',
app: 'prelude',
graylogHost: '10.57.17.76',
graylogPort: 80,
level: 'info'
});
const logger = LoggerFactory.getLogger('node.test');
logger.info('测试一下');
logger.warn('再测试一个');
logger.debug('最后就测这一个了');
logger.error('这是测试一个128个字符的测试用例这是测试一个128个字符的测试用例这是测试一个128个字符的测试用例这是测试一个128个字符的测试用例这是测试一个128个字符的测试用例这是测试一个128个字符的测试用例这是测试一个128个字符的测试用例这是测试一个128个字符的测试用例。')
const LoggerFactory = require('node-graylog');
const logger = LoggerFactory.getLogger('redis-client', {
file: 'client.log',
app: 'test',
graylogHost: '10.57.17.76'
});
logger.error('这还是个测试');
日志最大长度为1420 * 128,超过部分将会被截断
FAQs
node版graylog
The npm package node-graylog receives a total of 11 weekly downloads. As such, node-graylog popularity was classified as not popular.
We found that node-graylog 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
Compromised npm package art-template delivered a Coruna-like iOS Safari exploit framework through a watering-hole attack.

Company News
As AI accelerates how code is written and shipped, Socket is scaling to protect the software supply chain from the growing wave of attacks targeting open source dependencies.

Company News
Socket is scaling to defend open source against supply chain attacks as AI accelerates software development.