@vrbo/pino-rotating-file
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@vrbo/pino-rotating-file", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A hapi-pino log transport for splitting logs into separate, automatically rotating files.", | ||
@@ -55,10 +55,12 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/git": "^9.0.0", | ||
"mock-require": "^3.0.3", | ||
"mock-stdin": "^1.0.0", | ||
"nyc": "^15.0.0", | ||
"sinon": "^8.0.0", | ||
"sinon": "^9.0.0", | ||
"standard": "^14.0.0", | ||
"std-mocks": "^1.0.1", | ||
"tap-spec": "^5.0.0", | ||
"tape": "^4.9.2" | ||
"tape": "^5.0.0" | ||
}, | ||
@@ -69,6 +71,6 @@ "dependencies": { | ||
"pump": "^3.0.0", | ||
"rotating-file-stream": "^2.0.0", | ||
"rotating-file-stream": "^2.1.3", | ||
"split2": "^3.1.0", | ||
"through2": "^3.0.0" | ||
"through2": "^4.0.0" | ||
} | ||
} |
# @vrbo/pino-rotating-file | ||
[![NPM Version](https://img.shields.io/npm/v/@vrbo/pino-rotating-file.svg?style=flat-square)](https://www.npmjs.com/package/@vrbo/pino-rotating-file) | ||
[![Build Status](https://travis-ci.org/expediagroup/pino-rotating-file.svg?branch=master)](https://travis-ci.org/expediagroup/pino-rotating-file) | ||
![](https://github.com/ExpediaGroup/pino-rotating-file/workflows/Node_CI/badge.svg) | ||
[![Dependency Status](https://david-dm.org/expediagroup/pino-rotating-file.svg?theme=shields.io)](https://david-dm.org/expediagroup/pino-rotating-file) | ||
@@ -71,3 +71,3 @@ [![NPM Downloads](https://img.shields.io/npm/dm/@vrbo/pino-rotating-file.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@vrbo/pino-rotating-file) | ||
To disable formatting logs into JSON and take advantage of file rotation only, simply add `isJson: false` to the config file options: | ||
To disable formatting logs into JSON and take advantage of file rotation only, simply add `isJson: false` to the `output` object in your configuration file: | ||
@@ -79,5 +79,7 @@ ```javascript | ||
path: "request.log", | ||
isJson: false // JSON formatting will be disabled, | ||
options: { | ||
... | ||
isJson: false // JSON formatting will be disabled | ||
// Options configured here are passed along to rotating-file-stream. | ||
// See the Introduction of this README for a link to valid options. | ||
... | ||
} | ||
@@ -84,0 +86,0 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
34234
401
94
10
1
+ Addedthrough2@4.0.2(transitive)
- Removedthrough2@3.0.2(transitive)
Updatedrotating-file-stream@^2.1.3
Updatedthrough2@^4.0.0