-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
🔎 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