Socket
Socket
Sign inDemoInstall

log4js-logstash-tcp

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

log4js-logstash-tcp - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

14

index.js

@@ -9,2 +9,10 @@ 'use strict';

let apm = false;
try {
apm = require('elastic-apm-node');
} catch(e) {
// ignore APM if it's not loaded
}
function sendLog(host, port, logObject) {

@@ -39,8 +47,6 @@ tcpConnectionPool.send(host, port, logObject);

let currentAPMTransaction = false
try {
const apm = require('elastic-apm-node');
if(apm && apm.currentTransaction) {
currentAPMTransaction = apm.currentTransaction
} catch(e) {
// ignore APM if it's not loaded
}
/*

@@ -47,0 +53,0 @@ https://gist.github.com/jordansissel/2996677

{
"name": "log4js-logstash-tcp",
"version": "2.0.2",
"version": "2.0.3",
"author": "Aigent B.V.",

@@ -5,0 +5,0 @@ "description": "This is a copy of the logstashUDP appender but instead sending via UDP send via TCP to avoid the maximum 64k bytes message size with the logstashUDP appender.",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc