Redirecting Caught and Uncaught Exceptions to OSGI Console and Log File 50/650/1
authorMaurice Qureshi <maquresh@cisco.com>
Fri, 19 Apr 2013 19:14:02 +0000 (12:14 -0700)
committerMartin Vitez <mvitez@cisco.com>
Wed, 24 Jul 2013 11:44:51 +0000 (13:44 +0200)
commit0c14ad1f0f32b866983e0233b08704284bc0d447
tree8a3d5a5e617b61760367f28135cf367b40a28fee
parented852a6a3c66e12ccff4c1bcf77152f30b4a462b
Redirecting Caught and Uncaught Exceptions to OSGI Console and Log File

The existing mechanism int the Controller allows the exceptions to be printed only
the console. This applies to both caught and uncaught exception. If the console
buffer is not too large and gets overwritten or gets cleared, there is no way for
the user to know what exceptions occurred. This commit implements a new mechanism
by which both types of exceptions will get printed on the console as well as logged
to the file.

Signed-off-by: Maurice Qureshi <maquresh@cisco.com>
yang-common/src/main/java/org/opendaylight/controller/yang/common/QName.java