Closed jancurn closed 4 years ago
We're encountering this issue as well. It seems like nothing in /var/log is being streamed either because of this.
Thanks for your feedback – and apologies for the trouble. It looks like we pushed the image prematurely; a quick fix will be to revert to 1.5.6 while we address this issue and properly release 1.6.1:
sudo apt-get install logdna-agent=1.5.6
I'll keep this issue open as it's something we'll need to resolve for the 1.6.1 release anyhow.
Please, can you add some integration test for this, so that it doesn't happen again?
I hear you. As we're still digging in on what happened and why the release was pushed to our CDN prematurely, I'm not sure yet if an integration test would solve that – but I'm going to make sure we dig in on what exactly went wrong and find the most complete way to ensure it doesn't happen again.
So was this fixed?
@jancurn it was! Mostly it was an ephemeral problem that showed up on your end because we screwed up and pushed 1.6.1 early. I wanted to verify this was for sure fixed in 1.6.2 before closing, and can confirm it does indeed.
After upgrading the logdna-agent from 1.5.6 to version 1.6.1 (running on Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-1048-aws x86_64)), LogDNA stopped receiving logs from our systems. Here's an analysis from the terminal:
Basically, it seems LogDNA agent is no longer able to handle wildcards in
logdir
option, such as/home/apifier/*.log
. When we update/etc/logdna.conf
as follows:then streaming of the file
app@prod-api3.log
resumes normally.