Add log rotating to flipper-server

Summary:
CHANGELOG: Rotate flipper-server logs

Otherwise, they re going to eat up all space eventually in a one monstrous file

Reviewed By: passy

Differential Revision: D37516868

fbshipit-source-id: 478a61c56ec007e4a3d695f7e6df2a61cb33c33a
This commit is contained in:
Andrey Goncharov
2022-06-30 07:01:40 -07:00
committed by Facebook GitHub Bot
parent 646b9d5a5d
commit 1052384154
5 changed files with 47 additions and 11 deletions

View File

@@ -78,7 +78,7 @@ const rootDir = argv.bundler
const staticDir = path.join(rootDir, 'static');
async function start() {
const enhanceLogger = initializeLogger(staticDir);
const enhanceLogger = await initializeLogger(staticDir);
let keytar: any = undefined;
try {