Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logstalgia Seems to Unsync with my Logs if I get no traffic for a few mins #40

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Running Logstalgia for 10 Minutes
2.
3.

What is the expected output? What do you see instead?

I expect the logs to show every time a hit occurs on my website. For the first 
10 minutes it works fine but if there is no traffic for a few mins it seems to 
Unsync. I go to the website I an tracking and I dont see my own traffic. When I 
first start it I see it just fine.

What version of the product are you using? On what operating system?

I am using Logstalgia 1.0.0-1 on Ubunut 10.04. I have tried to install the 
newer version of Logstalgia but I get an error "Error: Dependency is not 
satisfiable: libpcre3 (>= 8.10)" and am not sure what to do. 


Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 28 Jun 2012 at 6:35

@GoogleCodeExporter
Copy link
Author

I suggest you maybe look into updating your Ubuntu to a newer version.

Original comment by [email protected] on 29 Jun 2012 at 7:08

  • Changed state: Done

@GoogleCodeExporter
Copy link
Author

I just installed to the latest version of Logstalgia with the Latest version of 
ubuntu and I am getting the same problem. If I do not push traffic through 
constantly the Sync is lost and I can no longer view the traffic in real time.

Original comment by [email protected] on 29 Jun 2012 at 4:00

@GoogleCodeExporter
Copy link
Author

Could you post the command line you use to tail the logs. Also if possible 
could you try and confirm whether the command by itself shows the hits on the 
website that Logstalgia isn't showing. 

I wonder if the command itself is timing out, or if it is stopping when it 
reaches the end of the file.

Cheers

Andrew

Original comment by [email protected] on 30 Jun 2012 at 1:19

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I'm also experiencing that it's falling behind.

I'm running it on a local machine, but tailing logs from our production 
environment.

Local command (with grouping config removed for clarity):

ssh -t xxx@remotehost /home/xxx/weblogtail.sh | logstalgia --glow-intensity 1 
--glow-multiplier 7 --glow-duration 0.75 --paddle-position .75 --font-size 30 
-1920x1080 --sync -f -

And the remote script (weblogtail.sh):

tail -F /var/log/nginx/some.log /var/log/nginx/other.log 
/var/log/nginx/third.log | grep -v "pattern for unwanted lines"

Original comment by [email protected] on 16 Jan 2014 at 10:37

@GoogleCodeExporter
Copy link
Author

Oh, I forgot to mention: The clock shown in logstalgia is also falling behind. 
It seems logstalgia is somehow aware that it's late.

Original comment by [email protected] on 16 Jan 2014 at 10:39

@GoogleCodeExporter
Copy link
Author

Hi. It looks like the issue is grep buffering multiple entries before 
outputting them by default.

Try adding the --line-buffered option to grep for it to output per line.

Cheers

Andrew

Original comment by [email protected] on 27 Jan 2014 at 3:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant