Job Service logs

Hi,

Currently we have 7 days logs present in below folders, how can we change it to 5 days ? Can some one please let us know how this can be done ?
C:\Users\serviceAccount\AppData\Local\One Identity\One Identity Manager\JobService
C:\Users\serviceAccount\AppData\Local\One Identity\One Identity Manager\StdioProcessor

Thanks

Parents
  • Hi,

    Use JobServiceCinfigurator.exe to changes these settings:

    This will allow you to control the number of log files ..... not the number of days of log files.

    HTH, Barry.

  • Hi Barry,

    Thanks for your reply.

    We have configured the log file path as C:\One Identity\Job Service logs and configured number of history logs as 60. This is working fine.

    However we also have logs present under below paths, 

    C:\Users\serviceAccount\AppData\Local\One Identity\One Identity Manager\JobService
    C:\Users\serviceAccount\AppData\Local\One Identity\One Identity Manager\StdioProcessor

    serviceAccount is the account which we are using to run one identity manager service. This account is only used to run one identity manager service.

    New log file is generated every day at 12 AM under this path, Currently we have 7 days logs present in below folders and we need to change it to 5 days.

    Thanks

  • These logs are configured via the NLOG config files (globallog.config).

    A sample would be like this. The maxArchiveFiles property is set to 5 instead of 7.

    <target name="logfile" xsi:type="File" fileName="${logBaseDir}/${appName}.log" layout="${layout}" encoding="utf-8"
    	archiveFileName="${logBaseDir}/${appName}.{#}.log" maxArchiveFiles="5" archiveEvery="Day" archiveNumbering="Rolling"/>
    

Reply
  • These logs are configured via the NLOG config files (globallog.config).

    A sample would be like this. The maxArchiveFiles property is set to 5 instead of 7.

    <target name="logfile" xsi:type="File" fileName="${logBaseDir}/${appName}.log" layout="${layout}" encoding="utf-8"
    	archiveFileName="${logBaseDir}/${appName}.{#}.log" maxArchiveFiles="5" archiveEvery="Day" archiveNumbering="Rolling"/>
    

Children
No Data