We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfb1402 commit ad65753Copy full SHA for ad65753
src/Services/Logger.ts
@@ -31,7 +31,7 @@ const esTransportOpts = {
31
} as ClientOptions,
32
};
33
34
-if (config.env == "production" && config.logging.es.enabled) {
+if (config.env == "production" && config.logging.es === "enabled") {
35
logger.add(new (ElasticsearchTransport as any)(esTransportOpts));
36
}
37
0 commit comments