Comments (7)
@mitesh-mokko sorry that you're having problems. Can you gist the output of npm ls
from your project folder, and then also from the docker container?
from winston-daily-rotate-file.
I'm so sorry I'm very new to "gist". Any help there?
from winston-daily-rotate-file.
Never mind - it was so simple. I've just never used it.
from winston-daily-rotate-file.
Can't get a gist from docker container again until I re-create it.
from winston-daily-rotate-file.
Thanks @theProtagony - let me know when you have one from the container and we can compare.
from winston-daily-rotate-file.
I was getting the same error today. It's fixed for me by upgrading to winston 2.2.0 (my old version was 1.0.2). It seems it's related to winston was using defineGetter method for transports in the old version. But in 2.2.0, that has been removed. Hope it helps.
from winston-daily-rotate-file.
@xuefengwang thanks - I suspect its probably an out-dated Winston version. This becomes more apparent since we use Winston as a peer-dependency and not a direct reference.
from winston-daily-rotate-file.
Related Issues (20)
- Facing EPERM Issue while oprning file.
- After server restart new log file is created but old file is not zipped
- Not deleting old log files
- How can I determine when the file stream has finished writing? HOT 1
- On rotation the new file's owner is not always the same. Sometimes it is the user, sometimes it is root HOT 3
- Please create a few more example codes.
- winstonDailyRotateFile does not create a new file if existing file is deleted HOT 2
- Winston's audit Files are created even when no logs are printed HOT 2
- monitoring logs
- Not deleting zipped log files HOT 1
- Current log file unreadable
- Awaiting logs to be written in winston
- How to change Log Rotate Appends number to daily files,
- Ability to write headers to newly created file HOT 1
- Remove log type field from the log
- Rotating file stream not working if maxsize = 1kb or frequency is 1 minute. Does this library really works HOT 2
- Adding new Maintainers HOT 15
- Add Storage Configuration HOT 4
- not creating a directory or file when no logs happened
- How do I skip writing log? level ignored?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winston-daily-rotate-file.