islipfd19 0 Posted July 25, 2017 Posted July 25, 2017 I'm a new user to Emby, I find it more appealing than Plex. I quickly searched the feature request posts for something similar to what I'm posting here but did not find anything. I've found it to be cumbersome viewing logs in the web browser because I have to scroll to the bottom of the page. I'd like to see the logs being displayed in descending order, placing the most recent entries at the top of the page. It would allow for easier perusal of the log by scrolling down the page looking at the most recent entries until you find the first error (or the error you are looking for).
ebr 15331 Posted July 25, 2017 Posted July 25, 2017 Hi. This is already the case. To where, exactly are you referring?
islipfd19 0 Posted July 25, 2017 Author Posted July 25, 2017 The actual log file itself. Clicking on anyone of those log files will open a new tab to display its text in ascending order.
mastrmind11 717 Posted July 25, 2017 Posted July 25, 2017 The actual log file itself. Clicking on anyone of those log files will open a new tab to display its text in ascending order. Wait, you want the logs to be written in reverse chronological order?
ebr 15331 Posted July 25, 2017 Posted July 25, 2017 It is just a text file. Not sure there is any way to show it backwards...
islipfd19 0 Posted July 25, 2017 Author Posted July 25, 2017 No, only displayed in the web browser. I know java has the ability to read a file and display it in a browser in descending order listing the most recent entries at the top.
mastrmind11 717 Posted July 25, 2017 Posted July 25, 2017 (edited) No, only displayed in the web browser. I know java has the ability to read a file and display it in a browser in descending order listing the most recent entries at the top. So build what you want then... what you're suggesting as a feature basically goes against every log file format since computers were invented... from a computer science perspective, prepending to a string (and a log file is basically a really long string of characters) is extremely resource intensive because the app is forced to rewrite the log every time something gets logged (ie, look at log, remove everything and store it in memory, write the most recent update, then write the previous log from memory after the new line). And based on the frequency of log updates in Emby, you'd come back here bitching about performance next. edit: Thinking about this more, you read somewhere that "Java can do it" TL;DR roll your own log parser, or get a better text editor. I recommend Notepad++ Edited July 25, 2017 by mastrmind11
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now