Hi Everyone,
Since a couple of days, the SASCustIntelCore6.5 log (22 MB) is not being dumped into a seperate file every night, but instead keeps on growing ever since April 29th. I do not recall having changed any parameters in any config.xml regarding logging. Can somebody tell me, how to get to the state again, that the SASCustIntelCore6.5 log ist being "flushed" every night in the sense, that there is a file being created like the ones that are shown in the attached list?
Cheers,
FK
Hi,
go in your Middletier Config to Web=>Common=>LogConfig to SASCustomerIntelligenceCore
and Change the Fileappender to DailyRollingFileAppender:
<appender class="org.apache.log4j.DailyRollingFileAppender" name="REDIR_FILE">
Hope this helps.
Hi,
go in your Middletier Config to Web=>Common=>LogConfig to SASCustomerIntelligenceCore
and Change the Fileappender to DailyRollingFileAppender:
<appender class="org.apache.log4j.DailyRollingFileAppender" name="REDIR_FILE">
Hope this helps.
Hi @Banse ,
thank you for your help. Just a quick follow-up:
do you mean to replace the line
"<appender class="org.apache.log4j.RollingFileAppender" name="REDIR_FILE">"
with
"<appender class="org.apache.log4j.DailyRollingFileAppender" name="REDIR_FILE">" ?
Or do you mean to add an extra Tag set with the adjusted appender class- statement ?
"
<appender class="org.apache.log4j.DailyRollingFileAppender" name="REDIR_FILE">
<param name="datePattern" value="'.'yyyy-MM-dd"/>
<param name="append" value="true"/>
<param name="Encoding" value="UTF-8"/>
<param name="MaxFileSize" value="100MB"/>
<param name="MaxBackupIndex" value="100"/>
<param name="file"
value="${config.lev.web.appserver.logs.dir}/SASCustIntelCore6.5.log"/>
"
Hi,
i've just replaced it. (copied original file to .orig and then I have replaced the line)
Kind regards,
Markus
Hi Everyone,
unfortunaltely the "DailyRollingFileAppender" change in the "SASCustIntelCore-log4j.xml" did not help. Still, the log keeps growing and is not being flushed on a nightly basis.
Does anybody have another idea?
Cheers,
FK
Hi,
have you restarted your MiddleTier Servers? The change does need a restart.
If this is not working after a restart, I think you should open a track at support.sas.com
kind regards
Markus
Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.
Listen to the Reimagine Marketing podcast
Assess your marketing efforts with a free tool
SAS Customer Intelligence Learning Subscription (login required)
Compatibility notice re: SAS 9.4M8 (TS1M8) or later
SAS' Peter Ansbacher shows you how to use the dashboard in SAS Customer Intelligence 360 for better results.
Find more tutorials on the SAS Users YouTube channel.
Want to review SAS CI360? G2 is offering a gift card or charitable donation for each accepted review. Use this link to opt out of receiving anything of value for your review.
Listen to the Reimagine Marketing podcast
Assess your marketing efforts with a free tool
SAS Customer Intelligence Learning Subscription (login required)
Compatibility notice re: SAS 9.4M8 (TS1M8) or later