Ghost outputs duplicate log entries in production mode
See original GitHub issue(Copied from https://github.com/TryGhost/Ghost-CLI/issues/741, as it was determined to be a Ghost issue rather than a CLI issue)
Issue Summary
ghost log -f
shows every log entry twice. After looking deeper, it looks like the lines in the logfile generated by Bunyan are duplicated.
This was also mentioned in the forum: https://forum.ghost.org/t/scheduled-posts-dont-publish/1179/28
Steps to Reproduce
- Install Ghost
- Run Ghost in production mode
- Look at the contents of the production logfile
- Notice that lines are repeated
Technical details:
- Ghost Version: 1.7.3
- Node Version: 6 & 8
- Browser/OS: macOS/Ubuntu
- Database: n/a
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
duplicate log entries · Issue #340 · trentm/node-bunyan - GitHub
for some reason in multiple projects I having some duplicate log entries and I don't know why and haven't seen this problem before,...
Read more >Duplicate log output when using Python logging module
The problem is that every time you call myLogger() , it's adding another handler to the instance, which causes the duplicate logs.
Read more >The ghost cleanup task for SQL Server Databases
This procedure cleans the ghost records on the pages of a database. It requires two arguments –database name (mandatory) and cleaning delay time ......
Read more >Rails - Semantic Logger - Rocket Job
Semantic Logger is a feature rich logging framework, and replacement for existing Ruby or Rails loggers. Supports Syslog, Graylog, Elasticsearch, Splunk, ...
Read more >script console output 2 duplicated entry for one log
Solved: It's really strange that our Jira script console started to output 2 entries for one log, can you advice any clue how...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kirrg001 Thanks! I could reproduce using your config,
turned out the bug was in Ignition, when rotation was enabled, it was creating 2 logging streams other than the regular ones,
you can see my PR here
@evexoio Hm i think it’s related/caused by the rotation configuration.
This configuration shows duplicated entries.