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:
@ -236,6 +236,10 @@ export class EnvironmentService {
|
||||
);
|
||||
}
|
||||
|
||||
getLoggerIsBufferEnabled(): boolean | undefined {
|
||||
return this.configService.get<boolean>('LOGGER_IS_BUFFER_ENABLED') ?? true;
|
||||
}
|
||||
|
||||
getExceptionHandlerDriverType(): ExceptionHandlerDriver {
|
||||
return (
|
||||
this.configService.get<ExceptionHandlerDriver>(
|
||||
|
||||
Reference in New Issue
Block a user