Within the ARC screen users can get all the information required in order to understand and fix an error - the state, stack, and source code that led to it. To complement this, OverOps also displays a Log View for each error and exception, which shows the last 250 log statements leading up to the error, giving an easy way to work with the OverOps code (“classic”) and log data - without leaving the application.
This feature is available to OverOps users from version 3.22.0, and supports the following logging frameworks: logback and log4j.
To open the Log View:
- From the ARC screen, click Log on the event header:
From this tab, you can also switch to Code View or JVM View.
- Create a Log View URL: add “#log” at the end of the event URL.
By default, the Log View contains the 250 log lines that preceded the event.
The Log View enables you to sift through the log entries (“info”), log warnings and error entries. Since OverOps creates the Log View directly from the JVM, additional information, such as “DEBUG” and “TRACE” entries, is not always available in the logs themselves. Different log events are highlighted for convenience, and navigation between them is available using keyboard shortcuts (arrows, page up/down/home/end).
In the Log View, the error or exception lines are displayed first, followed by the Stack Trace. OverOps also displays the context of the event, by highlighting the beginning of the relevant transaction in which the event happened.
Note that all the advanced features and functionalities in the ARC screen are also available in Log View - handling the event (archiving, resolving, labeling), sharing it (via Jira or OverOps' notes) and searching within it.
In addition, as OverOps injects log links into your log files, the OverOps URLs are displayed within the Log View, allowing you to open new errors and exceptions in a new tab directly from the Log View, as you do from the log file itself.
- Logback: TRACE level and up
- Log4j/Log4j2: According to the user's config
Note: Log4j2 allows for custom log levels and names, however, OverOps reports on levels <= 300.
To change the number of characters recorded per log statement:
- Add the following argument to your JVM startup arguments (default is 10K):