blob: 140c265ffaf5d2c5a48d6172405ff90f733799fd [file] [log] [blame]
Emmett Cox8dde0cc2018-09-17 10:25:09 +01001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3
4Logging
5=======
6
7
efiacor0fa01982019-04-08 14:52:08 +00008**Where to Access Information**
Emmett Cox8dde0cc2018-09-17 10:25:09 +01009Data Router uses logback framework to generate logs.
10
efiacor0fa01982019-04-08 14:52:08 +000011**Error / Warning Messages**
Emmett Cox8dde0cc2018-09-17 10:25:09 +010012Currently Data Router does not have any unique error codes. However the following are the common HTTP error codes that
13could possibly occur in Data Router:
14
15 OK = 200 : The normal response from a successful update or get of a feed or subscription
Emmett Coxc14d9572018-11-14 17:00:18 +000016
Emmett Cox8dde0cc2018-09-17 10:25:09 +010017 CREATED = 201 : the normal response from successfully creating or subscribing to a feed.
Emmett Coxc14d9572018-11-14 17:00:18 +000018
Emmett Cox8dde0cc2018-09-17 10:25:09 +010019 NO_CONTENT = 204 : the normal response from a successful publish attempt and on successfully deleting a feed or subscription
Emmett Coxc14d9572018-11-14 17:00:18 +000020
Emmett Cox8dde0cc2018-09-17 10:25:09 +010021 MOVED_PERMANENTLY = 301 :the normal redirect response from prov to a publisher
Emmett Coxc14d9572018-11-14 17:00:18 +000022
Emmett Cox8dde0cc2018-09-17 10:25:09 +010023 BAD_REQUEST = 400: Usually indicates that either Json object in request body is incorrect in some way, or an Invalid parameter value was included in query string.
Emmett Coxc14d9572018-11-14 17:00:18 +000024
Emmett Cox8dde0cc2018-09-17 10:25:09 +010025 UNAUTHORIZED = 401 : Usually indicated either request was missing Authorization header, or indicates incorrect Username/password credentials
Emmett Coxc14d9572018-11-14 17:00:18 +000026
Emmett Cox8dde0cc2018-09-17 10:25:09 +010027 FORBIDDEN = 403 : Usually indicates the request originated from an unauthorized IP address, or that a client certificate was not a part of authorized list.
Emmett Coxc14d9572018-11-14 17:00:18 +000028
Emmett Cox8dde0cc2018-09-17 10:25:09 +010029 NOT_FOUND = 404 : Usually indicates an incorrect URI
Emmett Coxc14d9572018-11-14 17:00:18 +000030
Emmett Cox8dde0cc2018-09-17 10:25:09 +010031 METHOD_NOT_ALLOWED = 405 : Indicates an HTTP method is not accepted for given URI