BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
FK1
Lapis Lazuli | Level 10 FK1
Lapis Lazuli | Level 10

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,

FKlist.JPG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Banse
Fluorite | Level 6

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.

 

 

View solution in original post

7 REPLIES 7
Banse
Fluorite | Level 6

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.

 

 

FK1
Lapis Lazuli | Level 10 FK1
Lapis Lazuli | Level 10

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"/>

"

Banse
Fluorite | Level 6

Hi,

 

i've just replaced it. (copied original file to .orig and then I have replaced the line)

 

Kind regards,

Markus

FK1
Lapis Lazuli | Level 10 FK1
Lapis Lazuli | Level 10
Hi Markus,
always a good idea to keep the original 🙂 I'll try it out!

Thx
FK1
Lapis Lazuli | Level 10 FK1
Lapis Lazuli | Level 10

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

Banse
Fluorite | Level 6

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

FK1
Lapis Lazuli | Level 10 FK1
Lapis Lazuli | Level 10
Hi Markus,
in fact, I DID NOT!! Good point. I'll restart them over the weekend and will come back on Monday - with hopefully, good news 🙂
How to improve email deliverability

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.

Discussion stats
  • 7 replies
  • 931 views
  • 2 likes
  • 2 in conversation