You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the pino-elasticsearch library implements @elastic/elasticsearch which calls debug, you must initialize pino-debug before creating your logger instance which prevents you from being able to pass that logger instance into pino-debug. This means that while you are able to initialize pino-debug before creating your logger instance, it will use a separate logger instance and therefore, these logs cannot be sent to elasticsearch.
I wonder if it's possible to allow debug calls before initializing pino-debug with the understanding that these calls will not be sent to the logger.
The text was updated successfully, but these errors were encountered:
Since the pino-elasticsearch library implements @elastic/elasticsearch which calls debug, you must initialize pino-debug before creating your logger instance which prevents you from being able to pass that logger instance into pino-debug. This means that while you are able to initialize pino-debug before creating your logger instance, it will use a separate logger instance and therefore, these logs cannot be sent to elasticsearch.
I wonder if it's possible to allow debug calls before initializing pino-debug with the understanding that these calls will not be sent to the logger.
The text was updated successfully, but these errors were encountered: