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
Here's my logging class. Everything works perfect on development env. As soon as I set NODE_ENV=production - winston ignores any message passed and just prints "undefined" to the log file
Undefined is being logged on production env:
When .env is any other from "production" - all works fine, as it should be
What version of Winston presents the issue?
v3.12.1
What version of Node are you using?
v16.14.2
If this worked in a previous version of Winston, which was it?
🔎 Search Terms
undefined, production, env
The problem
Here's my logging class. Everything works perfect on development env. As soon as I set NODE_ENV=production - winston ignores any message passed and just prints "undefined" to the log file
Undefined is being logged on production env:
When .env is any other from "production" - all works fine, as it should be
What version of Winston presents the issue?
v3.12.1
What version of Node are you using?
v16.14.2
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
Additional information
No response
The text was updated successfully, but these errors were encountered: