green-fox-academy / hotel-booking-notification-service

0 stars 0 forks source link

Endpoint logging #9

Open zspadar opened 7 years ago

zspadar commented 7 years ago

Endpoint logging

Each http endpoint should be logged by the application

Feature: Logging on endpoints

Scenario: Good request Given the application running When any of the endpoints is requested Then it should log 'HTTP-REQUEST /path' in 'info' level

Scenario: Bad request Given the application running When any of the endpoints is requested And the response has any error Then it should log 'HTTP-ERROR /path' in 'error' level

tamasbrandstadter commented 7 years ago

1 point