question on calloutscript.log

Not Yet Reviewed

how do i configure the calloutscript.log to be appendable.
currently this log gets overwritten on each event

i would like to retain data from this log file..

0

Comments

1 comment
Date Votes

Please sign in to leave a comment.

  • Hey John, Looks like you can tweak a log4j.xml file: https://help.xmatters.com/devguide/#introtoscripting/troubleshooting/script_logging.htm?
    That article says to track down the <xMHOME>\node\assests\config\log4j.xml file and find the scriptLog_appender that should look something like this. What do you have for the maxBackupIndex and MaxFileSize in this file? It looks like the settings below should make 5 1MB files before rolling:

    ......
    <appender name="scriptLog_appender" class="org.apache.log4j.RollingFileAppender">
    <param name="maxBackupIndex" value="5" />
    <param name="MaxFileSize" value="1MB"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d [%t] %p - %m%n"/>
    </layout>
    </appender>
    ......
    <logger name="scriptLog">
    <level value="ERROR"/>
    <appender-ref ref="scriptLog_appender"/>
    </logger>

    0

Didn't find what you were looking for?

New post