Logback has been chosen as the logging framework because it supports all the functionality that had been implemented in the SSO proprietary logging system.
Logback configuration files have been organized in the following way:
Each web application has in its class path a similar kind of
logback.xml
file which simply defines the the defined context name for the application and in alogback.xml
file. This file also includes the actual logger configuration for the application.The logger configuration shared Common logger configurations, used by all web applications is named found in the
include-logback.xml
and it file. This file contains all the definitions required by SSO logback configuration
...
.
Main logback.xml
files
The logback.xml
files reside in these locations the default installation location for each web application in the default installation , (<webapp>
is the name of the web application like uas
, logviewer
, sso-api
etc.):
Linux:
/usr/local/ubisecure/ubilogin-sso/ubilogin/webapps/<webapp>/WEB-INF/classes
from where it is copied to/usr/local/ubisecure/ubilogin-sso/tomcat/webapps/<webapp>/WEB-INF/classes
during the installation processWindows:
C:\Program Files\Ubisecure\ubilogin-sso\ubilogin\webapps\<webapp>\WEB-INF\classes
from where it is copied toC:\Program Files\Ubisecure\ubilogin-sso\tomcat\webapps\<webapp>\WEB-INF\classes
during the installation process
There is no need to customise these filesfor the customers to modify either of these configuration files, but below are examples with explanations.
Expand | ||||
---|---|---|---|---|
| ||||
SSO authentication server ( Linux installation
Windows installation
Notes:
|
...
The include-logback.xml
file reside resides in this the following location in the default installation and it is meant for some customisation:. This file in intended to permit customisation: JOHN edited to here
Linux:
/usr/local/ubisecure/ubilogin-sso/ubilogin/custom/logging
Windows:
C:\Program Files\Ubisecure\ubilogin-sso\ubilogin\custom\logging
...