Logo: Relish

  1. Sign in

Project: Indy

Finding log entries by application

  • @application

As an Indy user I am able to create an instance and find all logs related to a particular application.

Background
Given
the following log:
2000-09-07 14:07:41 INFO  MyApp - Entering application.
2000-09-07 14:07:41 INFO  MyApp - Exiting application.
Scenarios
Count of entries for a specific application
When
searching the log for the application 'MyApp'
Then
I expect to have found 2 log entries
Particular entry for a specific application
When
searching the log for the application 'MyApp'
Then
I expect the first entry to be:
2000-09-07 14:07:41 INFO  MyApp - Entering application.
Then
I expect the last entry to be:
2000-09-07 14:07:41 INFO  MyApp - Exiting application.
No entries for a specific application
When
searching the log for the application 'YourApp'
Then
I expect to have found no log entries

Last published about 5 years ago by Burtlo.