File tree Expand file tree Collapse file tree 2 files changed +5
-76
lines changed
Expand file tree Collapse file tree 2 files changed +5
-76
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const Router = require('./lib/router')
2020const Panels = require ( './lib/panels' )
2121const utils = require ( './lib/utils' )
2222const About = require ( './lib/about' )
23- const Logger = require ( './lib/logger ' )
23+ const Logger = require ( 'daily-file-writer ' )
2424const Notifications = require ( './lib/notifications' )
2525
2626module . exports = window . App = App
@@ -548,7 +548,7 @@ App.prototype.checkConnLogging = function checkConnLogging(conn) {
548548 const l = new Logger ( {
549549 path : fp
550550 } )
551- l . _createStream ( )
551+ l . open ( )
552552 this . loggers . set ( conn , l )
553553 }
554554 } else if ( ! enabled && logger ) {
@@ -566,7 +566,7 @@ App.prototype.checkConnLogging = function checkConnLogging(conn) {
566566 const l = new Logger ( {
567567 path : fp
568568 } )
569- l . _createStream ( )
569+ l . open ( )
570570 this . loggers . set ( conn , l )
571571 }
572572 }
@@ -589,7 +589,7 @@ App.prototype.checkChannelLogging = function checkChannelLogging(chan) {
589589 const l = new Logger ( {
590590 path : fp
591591 } )
592- l . _createStream ( )
592+ l . open ( )
593593 this . loggers . set ( chan , l )
594594 }
595595 } else if ( ! enabled && logger ) {
@@ -606,7 +606,7 @@ App.prototype.checkChannelLogging = function checkChannelLogging(chan) {
606606 const l = new Logger ( {
607607 path : fp
608608 } )
609- l . _createStream ( )
609+ l . open ( )
610610 this . loggers . set ( chan , l )
611611 }
612612 }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments