Comments (12)
can you please post the stack trace or any error log you have?
from rtail.
Sure. FWIW, I think we routinely set out logging buffers for similar things to between 1000 & 10K lines.
from rtail.
ok so by buffer
you mean backlog size? the amount of lines you can see in the webapp at the same time ?
from rtail.
Yes, exactly. Do you still need that stacktrace?
from rtail.
at the moment we have 100 lines as value, based on the purpose itself of rtail, I guess adding --backlog-size
won't hurt but I need to patch the webapp also.
I'll mark this as feature request and make it happen by EOW.
Meanwhile git clone and search and replace for 100
it will match 2 lines on both app and cli.
then gulp app
and npm link
and you're set.
Dev notes are not ready yet.
from rtail.
Thanks!
from rtail.
https://github.com/kilianc/rtail/blob/develop/cli/rtail-server.js#L101
https://github.com/kilianc/rtail/blob/develop/app/app.ejs#L18
from rtail.
after putting some thought in it, I decided to not implement this functionality. I would like to understand what exactly is your use case and why you need it. The reason I am reluctant to allow big buffer sizes is that this thing runs in the browser and we have BUFFER_SIZE
dom elements inside an ng-repeat.
Performances will drop drastically with too many elements.
The purpose of this is to have centralized realtime logs, not rolling out 10k log lines at once, I am open to change my mind if you have a solid use case for this. I'll be happy to reopen this.
from rtail.
I am trying to look at log data. My use case was that got a stacktrace and it didn't even fit into 100 lines. Meaning I couldn't even see the error I needed to look at. Which is why I was using rtail in the first place. I am unable to use rtail to view the logs and forced to go back to using tail. FWIW I think practically the 10K # is closer to 1K. I think without this feature rtail has a very limited use case. I spend lots of time looking at logs and it is rare that 100 lines of logging data is enough.
from rtail.
This is the logging for ONE request in my app. As you can see its well over 100 lines
https://gist.github.com/rmchale/b024ebbb315a8634062f
from rtail.
@rmchale thanks for explaining this to me, I appreciate it!
Now it seems like yours is an edge case where a log line
(it's even a json object) translates in multiple lines because is formatted at the source.
Logs, by definitions are one line and delimited by \n
, is there any way that you can make your logger emit a non formatted json object? rtail takes care of it already and you will be able to see 100 objects.
Btw, how do you use tail -f
on a terminal with that amount of data in one shot ?
from rtail.
@rmchale well, was just trying to understand your particular case :) happy hunting!
from rtail.
Related Issues (20)
- Do not automatically scroll to top of the screen HOT 1
- Streams Mixed?? HOT 6
- Monitor folder with logs HOT 3
- Memory issues HOT 6
- Browser Freeze with 122 files in RTAIL
- Messages appearing on wrong streams HOT 3
- SSL certificates expired for rtail.org and rtail-demo.lukibear.com HOT 2
- Searching / Filtering JSON
- Stream mixed HOT 1
- How to change the time zone HOT 1
- Cannot run from source
- Increase log buffer size HOT 2
- project status: abandoned or to be resurrected HOT 5
- Overwrite logs
- The system cannot find the path specified HOT 1
- Not working with pm2 ecosystem files
- node and npm version?
- Display formatted hyperlinks
- Limitations to amount of logs broadcasted by rtail ?
- The term '/bin/sh.exe' is not recognized as a name of a cmdlet
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 rtail.