Skip to content
This repository was archived by the owner on Jan 11, 2022. It is now read-only.

Commit caadc8f

Browse files
committed
un-nuke something important
1 parent 888980b commit caadc8f

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
xunit.xml
12
report/
23
*.log
34
conjur-api.js

testconfig.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"use strict";
2+
3+
var winston = require('winston');
4+
5+
module.exports = function(){
6+
try {
7+
winston.remove(winston.transports.Console);
8+
}catch(e){
9+
return;
10+
}
11+
winston.add(winston.transports.File, {filename: 'test.log', level: 'debug'});
12+
};

0 commit comments

Comments
 (0)