Just looking at this screenshot, it’s a bit hard to read the actual text, and there’s too much emphasis on the timestamp. Also it looks like you’re losing the first character after the - on every line.
I fixed this one, It happened due to some RegEx mistakes to extract the information from the logline while testing. Is it better to change the view of this log terminal to display the log lines clearly? (Anyway we need the type of error, time stamp, appender and log information here)
Stepping back, the real use case here typically involves having lots of logs (many thousands of lines) and you need to find the right thing.
I thought to have two ideas for this one,
- Log viewer for showing live logs - It can be done using the Memory Appender(mostly It will return the last 100 lines of logs to the OWA). Then It will automatically add the new logs to the bottom of the log terminal.
- Log Viewer for complete usage - Here we need to deal with the Logs file to show and retrieve the past logs.
Currently, I have only developed the Log Viewer for live logs (using memory appender), anyway, It can be extended to further log access using the log files.
So it would be really cool to have some kind of timeline/slider that lets you quickly jump in time through the logs. Even better if this has some kind of tick mark for every error.) A date/time picker could also work, but offhand I expect a slider is better UX.
What I thought is,
- When the user moves the cursor to the top (last log), It will make another REST call and fetch the latest 100 logs before that last log. And It will be added to that last log. So User can simply scroll the terminal to get the previous log is one way.
- There will be a two-date selection box (Start date and end date) to get the logs between that date frame(Max 30days). Then only we can end up with the quick response within the selected date frame. Otherwise, we need to deal with the whole log files to fetch the required data.
- Other than this, I planned to implement a Search for logs function, but It should enable with start and end date for the log selection(Max 30days).
I could also imagine buttons for “jump to next/previous error”.
I couldn’t understand the usage of this. Here the terminal will be displayed one or more logs or errors, So why we need this buttons?
CC : @darius