Disable buffered logs (#3892)
* Update main.ts * Update command.ts * Update queue-worker.ts * Enable users to disable log buffering --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -18,7 +18,7 @@ async function bootstrap() {
|
||||
};
|
||||
|
||||
const app = await CommandFactory.createWithoutRunning(CommandModule, {
|
||||
bufferLogs: true,
|
||||
bufferLogs: process.env.LOGGER_IS_BUFFER_ENABLED === 'true',
|
||||
errorHandler,
|
||||
serviceErrorHandler: errorHandler,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user