CA Service Management

 View Only
  • 1.  How to increase Cora Clean logs?

    Posted Jun 08, 2015 06:48 AM


    I am running Cora Clean and due to the number of CI's we have the logs over write before it is completed.  Is there a way to either increase the log file size, or the number of log files in use (currently goes to .10)



  • 2.  Re: How to increase Cora Clean logs?

    Posted Jun 08, 2015 07:24 AM

    Hi,

    if you're talking about stdlog files, you can icrease the size of single log file.

    stdlog max size variable is stored in NX.env:

    # NX_LOGFILE_LIMIT is the approx number of bytes to write to each logfile

    # Used only in pdm_startup

    # 256Mb

    @NX_LOGFILE_LIMIT=256000000



  • 3.  Re: How to increase Cora Clean logs?

    Posted Jun 08, 2015 08:09 AM

    Not the stdlog files.  It’s the corautil.log files.  Created when you run coraclean.

     

    Bob Emerson

     

    Enterprise Availability & Automation – ITSM Process Support

    Process Engineer I

    EMEA

    Basildon,Essex

    UK

     

    Office  : +44 (0) 1268 296561

     

     

    OOO –

    26th June - 5th July 2015

    05-20th September 2015



  • 4.  Re: How to increase Cora Clean logs?

    Posted Jun 08, 2015 09:21 PM

    Hello Bob,

     

    Whats the version of SDM? Edit the file CoraLog4cplus.cfg from the location NX_ROOT\bin and locate the following line:

     

    log4cplus.appender.CoraAppender1.MaxFileSize=5MB

     

    Try changing the value and save the file. This needs recycle of SDM services for the changes to take affect. I would suggest you test this on a test server to see if there is a increase in the cora log file size.

     

    Thanks,

    Naveen



  • 5.  Re: How to increase Cora Clean logs?

    Posted Jun 09, 2015 04:45 AM

    Thanks for the input

     

    We are on SDM R12.7 Cum 2

     

    The updated suggested does not affect these logs.  It looks to be for the coraout.log, not the caorutil.log.  I tried an update but logs still switching at 10MB

     

    log4cplus.appender.CoraAppender1=log4cplus::RollingFileAppender

    log4cplus.appender.CoraAppender1.File=coraout.log

    log4cplus.appender.CoraAppender1.MaxFileSize=20MB

    log4cplus.appender.CoraAppender1.MaxBackupIndex=5

     

     

     

    Bob Emerson

     

    Enterprise Availability & Automation – ITSM Process Support

    Process Engineer I

    EMEA

    Basildon,Essex

    UK

     

    Office  : +44 (0) 1268 296561

     

     

    OOO –

    26th June - 5th July 2015

    05-20th September 2015



  • 6.  Re: How to increase Cora Clean logs?
    Best Answer

    Posted Jun 09, 2015 05:46 AM

    The file that needs updating is log4j.properties in the BIN folder (where coraclean is run from).