Add AAF certs with year duration to DR
[dmaap/datarouter.git] / docs / data-router / logging.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 Logging
5 =======
6
7
8 Where to Access Information
9 ---------------------------
10 Data Router uses logback framework to generate logs.
11
12 Error / Warning Messages
13 ------------------------
14 Currently Data Router does not have any unique error codes. However the following are the common HTTP error codes that
15 could possibly occur in Data Router:
16
17     OK = 200 : The normal response from a successful update or get of a feed or subscription
18
19     CREATED = 201 : the normal response from successfully creating or subscribing to a feed.
20
21     NO_CONTENT = 204 : the normal response from a successful publish attempt and on successfully deleting a feed or subscription
22
23     MOVED_PERMANENTLY = 301 :the normal redirect response from prov to a publisher
24
25     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.
26
27     UNAUTHORIZED = 401 : Usually indicated either request was missing Authorization header, or indicates incorrect Username/password credentials
28
29     FORBIDDEN = 403 : Usually indicates the request originated from an unauthorized IP address, or that a client certificate was not a part of authorized list.
30
31     NOT_FOUND = 404 : Usually indicates an incorrect URI
32
33     METHOD_NOT_ALLOWED = 405 : Indicates an HTTP method is not accepted for given URI