Skip to content

Commit ad65753

Browse files
author
nmlinaric
committed
Fix if es logging enabled
1 parent bfb1402 commit ad65753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const esTransportOpts = {
3131
} as ClientOptions,
3232
};
3333

34-
if (config.env == "production" && config.logging.es.enabled) {
34+
if (config.env == "production" && config.logging.es === "enabled") {
3535
logger.add(new (ElasticsearchTransport as any)(esTransportOpts));
3636
}
3737

0 commit comments

Comments
 (0)