Filters

Filters

The filters toolbar is used to create new filters on the current log file or view. This toolbar also contains commands for navigating between filters.

1

Previous Filter

1. Previous Filter

Move "back" to the previously selected filter.

2

Next Filter

2. Next Filter

Move "forward" to the previously selected filter. Note that this option will only be available if the "Previous" command has recently been used.

3

Find in Parent

3. Find in Parent

Moves up the log filter hierarchy. One interesting aspect of the log filter hierarchy is that it is not possible to have a log entry available in a child filter which is not also available in the parent filter. This command will find the currently selected log entry in the parent filter.

4

Find in Root

4. Find in Root

Finds the currently selected log entry in the original log file. This is the default action when double-clicking a log entry. Using this action as well as the "Previous" action is a great way to navigate your log files. You can quickly filter all errors, double-click an error to see the surrounding circumstances and then use the "Previous" command to move back to see your list of errors.

5

Start Session

5. Start Session

Starts or stops a logging session. Logging sessions are useful when you want to focus on log entries from the period of time starting from 'now' and ending at some point in the future. For example, if you were debugging a program, you might start a logging session take a user action through your system and then stop a logging session. This will create a new date filter between the given start and stop times.

Logging sessions work with knowledge of the last recorded log entry. A session starts just after the last recorded entry and ends with the last recorded entry. This allows LogViewPlus to track all of the new log entries which were written over the time period regardless of timezone. Note that this may lead to confusing timespans being reported by the resulting date filter. For example, consider the case where you are tracking a log file in a different timezone where only one log entry is written during the session. You decide to track the file for ten minutes. In this case, the session filter start time will occur one millisecond after the last written log entry - which may have occurred days ago. The end time will be the timestamp associated with our single new log entry. It is therefore possible to record a 10 minute session which creates a date filter lasting for only a second. Alternatively, the timespan may cover several days. The important aspect is not the length of time elapsed, but that the filter captures all log entries written during the recording session.

Recording from the last recorded log entry allows LogViewPlus to track all new log entries written across multiple time zones when working with merged files.

A root log file can have only one active session at a time.

6

My Filters

6. My Filters

The My Filter command can be used to access a custom filter you have written.

For more information on writing custom filters please see 'Custom FIlters'. Note that this will command will only be available if you have successfully loaded a plug-in which contains a custom filter.

7

Logger Filter

7. Logger Filter

Creates a new logger filter. A logger filter is a filter on the current view which shows all logs written by a particular logger.

8

Thread Filter

8. Thread Filter

Creates a new thread filter. A thread filter is a filter on the current view which shows all logs written by a particular thread.

9

Text Filter

9. Text Filter

Creates a new text filter. A text filter is a filter on the current view which shows all logs which contain the given text. You can find out more about createing Text Filters.

10

Time Filter

10. Time Filter

Creates a new date time filter. A date time filter is a filter on the current view which shows all logs written in a specified date range.

11

Log Level Filter

11. Log Level Filter

Creates a new log level filter. A log level filter is a filter on the current view which shows all logs with the matching log level. You can find out more about createing Log Level Filters.

< >