-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
bugfix: 多进程导致日志记录异常的问题修复 (#434)
1 parent
80e3f98
commit 8a96850
Showing
6 changed files
with
67 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const log4js = require('./util.logger') | ||
const loggerFactory = require('./util.logger') | ||
|
||
const logger = log4js.getLogger('core') | ||
const logger = loggerFactory.getLogger('core') | ||
|
||
module.exports = logger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const log4js = require('@docmirror/dev-sidecar/src/utils/util.logger') | ||
const loggerFactory = require('@docmirror/dev-sidecar/src/utils/util.logger') | ||
|
||
const logger = log4js.getLogger('gui') | ||
const logger = loggerFactory.getLogger('gui') | ||
|
||
module.exports = logger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const log4js = require('@docmirror/dev-sidecar/src/utils/util.logger') | ||
const loggerFactory = require('@docmirror/dev-sidecar/src/utils/util.logger') | ||
|
||
const logger = log4js.getLogger('server') | ||
const logger = loggerFactory.getLogger('server') | ||
|
||
module.exports = logger |