From 7fb2c60bbe97fe50a8f459858bf89d311df29690 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 22 Oct 2021 16:25:16 +0200 Subject: Remove sync call in logger Winston already does it --- server/helpers/logger.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'server/helpers') 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' 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() -- cgit v1.2.3