winston-daily-rotate-file
Advanced tools
Comparing version 4.4.0 to 4.4.1
@@ -105,2 +105,10 @@ 'use strict'; | ||
this.logStream.on('logRemoved', function (params) { | ||
if (options.zippedArchive) { | ||
var gzName = params.name + '.gz'; | ||
if (fs.existsSync(gzName)) { | ||
fs.unlinkSync(gzName); | ||
self.emit('logRemoved', gzName); | ||
return; | ||
} | ||
} | ||
self.emit('logRemoved', params.name); | ||
@@ -107,0 +115,0 @@ }); |
{ | ||
"name": "winston-daily-rotate-file", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"description": "A transport for winston which logs to a rotating file each day.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33360
646