The SAS Web applications
use log4j to perform logging. As each Web application begins running,
the log4j configuration file for the Web application is read from
SAS-config-dir\Lev1\Web\Common\LogConfig
.
After the log4j configuration file is read, the Web applications that
permit dynamic logging changes check for modifications that were set
with the SAS Web Administration Console.
The following table
identifies if customizations can be performed by editing the log4j
configuration file, using the SAS Web Administration Console, or both:
|
|
SAS Web Administration
Console
|
Change the logging levels.
|
|
|
|
|
|
Changes persist after
Web application server restarts.
|
|
|
Add or change an appender
to log to console, file, socket, or ARM.
|
|
|
Change a log filename
or location.
|
|
|
Change the layout pattern
for the log message.
|
|
|
Track user logons. You
can monitor usage patterns by logging activity for SAS Web application
logons.
|
|
|
Logging categories
use the fully qualified class name of the class where the logging
message originates. Categories for the following classes are common
to all SAS Web applications:
-
-
-
com.sas.services.deployment
-
com.sas.services.discovery
-
Tip
To troubleshoot SAS Logon
Manager authentication, set the
com.sas.svcs.authentication
context
to DEBUG level for SAS WIP Services. Set the
com.sas.services.user
context
to DEBUG level for SAS Remote Services. You must restart SAS Remote
Services and the Web application server.