Bug 3017 - Error messages and logs missing for this or other RPC failures 12/19712/10
authorVaclav Demcak <vdemcak@cisco.com>
Wed, 6 May 2015 13:10:14 +0000 (15:10 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 27 May 2015 16:19:54 +0000 (16:19 +0000)
commitf0d174b75247700587557ea548c5638e12287fd1
tree136ba6d0a540aecff94b57f98542389d8cb95e0c
parent3a24446e77478fb68e043cfe16f090adb9fcc72c
Bug 3017 - Error messages and logs missing for this or other RPC failures

Note: Restconf doesn't contain logs for more functionality (not only RPC)
so this patch adds better logging for Restconf (BrokerFacade and RestconfImpl).
Administrators are not able to pair user's reports and karaf log without better
logging information and it would help for better problem identify (e.g. bug 3080).

* BrokerFacade - add Logging for lev info for all extra state
* RestconfImpl - add Logging for lev warn for unexpected error state
               - add Logging for lev debug for another extra state

Change-Id: I452dddd4fb9d75a7754be0bc1d92518dcb1eb786
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/BrokerFacade.java
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/RestconfImpl.java