PureEngage On-Premises

 View Only

Sign Up

  • 1.  interactionworkspace.exe.config logging

    Posted 05-07-2015 23:54
    trying to find info on configuring the logging section in this file so we can define how many old files to keep. Even when loggin in this file is set to completely off, it still creates a zero byte file, this means we have to figure out how to delete them automatically as we cannot allow them to build up over the months. I struggle withteh documenation to find such options so if anyone knows if it can or cannot be done I would be grateful
     


  • 2.  RE: interactionworkspace.exe.config logging

    Posted 06-05-2015 11:33

    Hi,

    Can you please clarify the demand on configuring the logging related settings in interactionworkspace.exe.config file exactly?

    You can define the logging setting under [log] section in your Workspace application object under CME. To define how many old files to keep please configure: log.expire  option.


    log.expire

    • Default Value: 10
    • Valid Values: An integer value from 1 through 100.
    • Changes take effect: Immediately.
    • Description: Specifies if log files are to be stored. If they are stored, specifies the maximum number of files (segments) to be stored before the oldest file is removed. The value $number$ sets the maximum number of log files to store. 
     

    If it is required to define how many old files to keep in interactionworkspace.exe.config  file, use maxSizeRollBackups parameter:

       <maxSizeRollBackups value="10" />

    maxSizeRollBackups  - defines the maximum number of backup files that are kept before the oldest is erased.

    Since WDE uses log4net library to provide logging feature refer to log4net documentation for more details on File Appender configuration.

    Roman T