mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Remove sync call in logger
Winston already does it
This commit is contained in:
parent
36de29dfb2
commit
7fb2c60bbe
2 changed files with 0 additions and 5 deletions
|
@ -10,10 +10,6 @@ import { LOG_FILENAME } from '../initializers/constants'
|
|||
|
||||
const label = CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT
|
||||
|
||||
// Create the directory if it does not exist
|
||||
// FIXME: use async
|
||||
mkdirpSync(CONFIG.STORAGE.LOG_DIR)
|
||||
|
||||
function getLoggerReplacer () {
|
||||
const seen = new WeakSet()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue