-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Winston 3 compatibility - file creation #1494
Copy link
Copy link
Closed
Labels
Feature RequestRequest for new functionality to support use cases not already coveredRequest for new functionality to support use cases not already coveredGood First IssueGood issue for new contributorsGood issue for new contributors
Description
Please tell us about your environment:
winston version?
-
winston@2 -
winston@3
What is the problem?
With winston@2 I'm running two file transports. One logging all events and one logging only errors and exceptions. winston@2 is creating the log files when the first log entry is written. winston@3 is creating the log files at initialization even if no log entry is written. It would be nice to have an option to disable the precreation of the log files.
The reason behind is that I'm monitoring my application with checking the existence of the "error" log file.
And now with winston@3 this file is allways created when the application is started,
What's the feature?
Option to disable the precreation of log files
Is this feature similar to an existing feature in another tool?
Like the behave in winston@2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature RequestRequest for new functionality to support use cases not already coveredRequest for new functionality to support use cases not already coveredGood First IssueGood issue for new contributorsGood issue for new contributors