winston-middleware 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -20,7 +20,11 @@
|
|
|
20
20
|
//
|
|
21
21
|
var winston = require('winston');
|
|
22
22
|
var util = require('util');
|
|
23
|
+
|
|
24
|
+
//Allow this file to get an exclusive copy of underscore so it can change the template settings without affecting others
|
|
25
|
+
delete require.cache[require.resolve('underscore')];
|
|
23
26
|
var _ = require('underscore');
|
|
27
|
+
delete require.cache[require.resolve('underscore')];
|
|
24
28
|
|
|
25
29
|
/**
|
|
26
30
|
* A default list of properties in the request object that are allowed to be logged.
|