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
json,Problems with JSON files on different systems,dirname ,
The problem
In the Windows system, all my logs are in the log folder, but in Ubuntu, the JSON file runs to the project running directory in a strange format: log\error\.b3e8a8246ff2dd7567ea2f1baa993ceab005c547-audit.json
My configuration file is roughly like this
windows
ubuntu:
-- log
-- log\error.b3e8a8246ff2dd7567ea2f1baa993ceab005c547-audit.json
They are in the same level directory
What version of Winston presents the issue?
v3.11.0
What version of Node are you using?
v20.18.0
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
🔎 Search Terms
json,Problems with JSON files on different systems,dirname ,
The problem
In the Windows system, all my logs are in the log folder, but in Ubuntu, the JSON file runs to the project running directory in a strange format:

log\error\.b3e8a8246ff2dd7567ea2f1baa993ceab005c547-audit.json
My configuration file is roughly like this
windows
ubuntu:
-- log
-- log\error.b3e8a8246ff2dd7567ea2f1baa993ceab005c547-audit.json
They are in the same level directory
What version of Winston presents the issue?
v3.11.0
What version of Node are you using?
v20.18.0
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: