Comments (4)
Thanks. Can you post the logs that occur before it started? Specifically, the ones regarding rotation.
I will look into this. Looks like a rename didn't get through to registrar.
from log-courier.
I looked back a bit and apparently the issue started yesterday actually, here are the logs from the beginning of yesterday until the issue started. I notice it says that /var/log/syslog hasn't changed in 24 hours, but it's updated all the time every day, so maybe it still has the previous day's syslog file (which has since been rotated away) open.
Please let me know if you need anything else. Thanks for your help.
2014/08/26 00:02:19.033607 Launching harvester on new file: /var/log/postgresql/postgresql-2014-08-26.log
2014/08/26 00:02:19.036800 Started harvester at position 0 (requested 0): /var/log/postgresql/postgresql-2014-08-26.log
2014/08/26 06:27:06.553100 Stopping harvest of /var/log/upstart/log-courier.log; last change was 24h0m4s ago
2014/08/26 06:38:02.490053 Stopping harvest of /var/log/firewall.log; last change was 24h0m4s ago
2014/08/26 06:44:36.342593 Stopping harvest of /var/log/mysql.log; last change was 24h0m1s ago
2014/08/26 06:44:36.342653 Stopping harvest of /var/log/mysql/error.log; last change was 24h0m1s ago
2014/08/26 06:44:38.703017 Stopping harvest of /var/log/syslog; last change was 24h0m3s ago
2014/08/26 06:47:05.901974 Unexpected file truncation, seeking to beginning: /var/log/munin/munin-node.log
2014/08/26 06:47:10.699312 Launching harvester on rotated file: /var/log/syslog
2014/08/26 06:47:10.699552 Launching harvester on rotated file: /var/log/firewall.log
2014/08/26 06:47:10.699596 Launching harvester on rotated file: /var/log/mysql.log
2014/08/26 06:47:10.699698 Launching harvester on rotated file: /var/log/mysql/error.log
2014/08/26 06:47:10.699929 Launching harvester on rotated file: /var/log/upstart/log-courier.log
2014/08/26 06:47:10.703696 Started harvester at position 0 (requested 0): /var/log/syslog
2014/08/26 06:47:10.706723 Started harvester at position 0 (requested 0): /var/log/firewall.log
2014/08/26 06:47:10.706755 Started harvester at position 0 (requested 0): /var/log/mysql.log
2014/08/26 06:47:10.706780 Started harvester at position 0 (requested 0): /var/log/mysql/error.log
2014/08/26 06:47:10.706808 Started harvester at position 0 (requested 0): /var/log/upstart/log-courier.log
2014/08/26 06:47:10.706879 BUG: Unexpected registrar conflict detected for /var/log/syslog
2014/08/26 06:47:14.584157 BUG: Unexpected registrar conflict detected for /var/log/syslog
2014/08/26 06:47:19.584541 BUG: Unexpected registrar conflict detected for /var/log/syslog
2014/08/26 06:47:24.583812 BUG: Unexpected registrar conflict detected for /var/log/syslog
from log-courier.
This was fixed a couple weeks ago it seems in my current work on monitoring features.
I hope to complete the monitoring stuff very soon so will get it pushed up in the next few days. If not, I'll back port the fix so it's in the main repository.
Apologies for the issue.
The impact is small - it just means if courier restarted in that 1 minute after rotation, it will potentially duplicate a tiny amount of logs that appeared in that minute.
from log-courier.
Hi,
The fix for this should now be merged. If it happen again please reopen the issue but after some testing it should be resolved.
Sorry for the issue!
Jason
from log-courier.
Related Issues (20)
- Duplicates observed when log-courier configuration file is overwritten HOT 3
- Undocumented behavior for paths matched by multiple fileglobs HOT 1
- log-courier can't seem to handle `~` for home in certain contexts. HOT 2
- error in logstash 7 HOT 4
- log-courier and logstash > 7.4.0? HOT 10
- Throughput question HOT 15
- does the includes configuration still work correctly? HOT 3
- Hold time setting not closing files properly
- syslog "progname" uses a full path rather than a basename HOT 1
- Information about payloads / different debug level ? HOT 3
- error while compiling code in the command line using MK in windows for Z wave HOT 1
- version.rb missing from the plugin package
- log-courier admin socket stuck HOT 2
- lc-admin does not default to tcp transport HOT 2
- order of files in lc-admin UI
- Logstash configuration auto reload is blocked by log-courier input HOT 2
- PPA packaging is using deprecated compatibility level 9 HOT 1
- 2.10.0 packages missing from PPA (Ubuntu)
- Receiver reload can cause panic
- TCP streaming receiver aborts if too many events received
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 log-courier.