diff options
Diffstat (limited to 'server/helpers/logger.ts')
-rw-r--r-- | server/helpers/logger.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/helpers/logger.ts b/server/helpers/logger.ts index 81b0dfaaa..f35ef5e9f 100644 --- a/server/helpers/logger.ts +++ b/server/helpers/logger.ts | |||
@@ -10,10 +10,6 @@ import { LOG_FILENAME } from '../initializers/constants' | |||
10 | 10 | ||
11 | const label = CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT | 11 | const label = CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT |
12 | 12 | ||
13 | // Create the directory if it does not exist | ||
14 | // FIXME: use async | ||
15 | mkdirpSync(CONFIG.STORAGE.LOG_DIR) | ||
16 | |||
17 | function getLoggerReplacer () { | 13 | function getLoggerReplacer () { |
18 | const seen = new WeakSet() | 14 | const seen = new WeakSet() |
19 | 15 | ||