Planning Analytics

Planning Analytics

Get AI-infused integrated business planning

 View Only
  • 1.  Server.log flooded with messages when add log4j.logger.TM1.Lock.CriticalSection=DEBUG

    Posted 09/23/20 05:19 PM
    Hello all,

    When we enabled log4j.logger.TM1.Lock.CriticalSection=DEBUG in one of our instances. the server.log flooded with messages in the screenshot. The file reached 100 MB in couple of minutes and all messages are like this.

    I will appreciated if you can help why it act like this while in the technote says "This particular logger is a low cost logger, that is OK to leave enabled at all times (inlcuding in production)" 

    ------------------------------
    Best Regards
    Muhammad Eissa
    ------------------------------

    #PlanningAnalyticswithWatson


  • 2.  RE: Server.log flooded with messages when add log4j.logger.TM1.Lock.CriticalSection=DEBUG

    Posted 09/23/20 05:25 PM

    The criticalSection logger is not low cost. criticalSections are a key component to how software manages memory

    https://en.wikipedia.org/wiki/Critical_section

     

    The "low cost" logger in that technote is the Lock.Exception logger.






  • 3.  RE: Server.log flooded with messages when add log4j.logger.TM1.Lock.CriticalSection=DEBUG

    Posted 09/23/20 05:42 PM
    Thanks Ryan,

    Really appreciate your reply.

    Best regards

    ------------------------------
    Muhammad Eissa
    ------------------------------



  • 4.  RE: Server.log flooded with messages when add log4j.logger.TM1.Lock.CriticalSection=DEBUG

    Posted 09/24/20 08:18 AM
    Hi Muhammad,

    Take a look at this article: https://www.ibm.com/support/pages/write-tm1-server-debug-logging-alternate-file

    This provides an example of the DEBUG logging you want for Lock Contention.  It also shows how to write the DEBUG logging to a separate log file so the tm1server.log file does get too 'busy'.

    ------------------------------
    Stuart King
    IBM Planning Analytics Offering Manager
    ------------------------------



  • 5.  RE: Server.log flooded with messages when add log4j.logger.TM1.Lock.CriticalSection=DEBUG

    Posted 09/25/20 06:58 AM
    Thanks Stuart,

    That's definitely useful.

    ------------------------------
    Muhammad Eissa
    ------------------------------