DX Application Performance Management

 View Only
  • 1.  EM logs

    Posted Dec 13, 2018 04:19 AM

    Hi Team

     

    We are using APM 10.7 on linux and the em logs are filling up very fast due to which performance is also degraded.

    Can anyone guide me through this that what could be the cause of this issue.

     

    Thanks 



  • 2.  Re: EM logs
    Best Answer

    Posted Dec 13, 2018 09:18 AM

    imran_ali

     

    your log level might be on DEBUG that why it is filling.

    Open IntrosocpeEnterpriseManager.properties  file and change following

     

    log4j.logger.Manager=INFO, logfile 

     

    change INFO to WARN



  • 3.  Re: EM logs

    Posted Dec 17, 2018 12:14 AM

    Hi junaidwily

    Yes,it was on DEBUG and I have changed it to WARN but junaid what does these properties mean.

     

    Thanks 

    Imran



  • 4.  Re: EM logs

    Broadcom Employee
    Posted Dec 17, 2018 02:11 AM

    Go to Apache's website and look at the information regarding Log4j (aka Commons Logging).



  • 5.  Re: EM logs

    Posted Dec 18, 2018 04:01 AM

    hi junaidwily

    I have changed log4j.logger.Manager=WARN,console logfile but the em.log went to 11gb in just one day can you help me on this.

     

    Thanks



  • 6.  Re: EM logs

    Broadcom Employee
    Posted Dec 18, 2018 08:51 AM

    em.log floods with : "SQLState 23505" and "duplica - CA Knowledge 

     

    Dear Imran:

         It depends on what the WARNING is . Are they all one message or many different ones?

    1) You can turn off all WARNINGs per above link

    2) You can attempt to resolve the situation so the WARN disappears

    3) You can open a case to get that WARNing(s) suppressed . (I would suggest 2 as the best course of action) 

    Hal



  • 7.  Re: EM logs

    Posted Dec 17, 2018 10:53 AM

    WARN
    public static final Level WARN
    The WARN level designates potentially harmful situations.

     

    INFO
    public static final Level INFO
    The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.

     

    DEBUG
    public static final Level DEBUG
    The DEBUG Level designates fine-grained informational events that are most useful to debug an application.



  • 8.  Re: EM logs

    Posted Dec 18, 2018 12:18 AM

    Thanks junaidwily



  • 9.  Re: EM logs

    Posted Dec 18, 2018 09:02 AM

    imran_ali

    in adition to the Hallett_German suggestion consider  following.

     

    By default EM will write log messages to both em.log as well as IntroscopeEntepriseManager.log file for e.g

    log4j.logger.Manager=INFO, console, logfile

     

    you can remove this double logging by removing console from above\similar statements in IntroscopeEnterpriseManager.properties which by itself should reduce the size drastically.

    stop EM before  make changes in properties file and delete em.log before starting EM.  

    Thanks



  • 10.  Re: EM logs

    Broadcom Employee
    Posted Dec 19, 2018 04:55 AM