Problem Note 54202: The SAS® Customer Intelligence Studio client IP address is not available in the log files
Currently, the SAS Customer Intelligence Studio client IP address is not available in the following log files:
- SASCustIntelCore6.3.log (controlled by the SASCustIntelCore-log4j.xml file)
- SASCustIntelStudio6.3.log (controlled by the SASCustIntelStudio-log4j.xml file)
- SASMarketingOptimization6.3.log (controlled by the SASMarketingOptimization-log4j.xml)
Click the Hot Fix tab in this note to access the fix for this issue.
After you apply the hot fix, you can make the IP address visible in the logs by specifying PatternLayout in the appropriate log4j.xml file,
as shown below:
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ISO8601} %-5p [%t][%X{sas.session.id}] [%X{sas.user.name}] clientIP[%X{sas.client.ip}] %-40.40c -%m%n"/>
</layout>
After you make this layout change, you need to restart SASServer6.
Notes:
- The Downloads tab in this note contains two samples that show how the SAS® Marketing Optimization log4j.xml file should look. When you use the sample log4j.xml files, you might need to modify the File value to match your installation, as shown in this example:
param name="File" value="SAS-configuration-directory/Lev1/Web/Logs/
Be aware that, even in a Microsoft Window operating environment, the file path needs to use the Java form of the slash. That is, the path uses a forward slash (/) rather than a back slash (\).
- Typically, all log4j.xml files are located in the SAS-configuration-directory\Lev1\Web\Common\LogConfig directory on your middle-tier machine.
Operating System and Release Information
SAS System | SAS Customer Intelligence Core Mid-Tier | 64-bit Enabled AIX | 6.3 | 6.4 | | 9.4 TS1M0 |
64-bit Enabled Solaris | 6.3 | 6.4 | | 9.4 TS1M0 |
HP-UX IPF | 6.3 | 6.4 | | 9.4 TS1M0 |
Linux for x64 | 6.3 | 6.4 | | 9.4 TS1M0 |
Solaris for x64 | 6.3 | 6.4 | | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 6.3 | 6.4 | | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2014-10-17 14:57:17 |
Date Created: | 2014-09-26 08:28:19 |