How to change agent log directory or redirect logs to console?

How to change agent log directory or redirect logs to console?

By default, agent logs are written to a log file in the specified or default directory of APM Insight Java agent.

  1. To redirect the agent logs to STDOUT or console, add the below key in apminsight.conf file and restart your application.
     apminsight.console.logger=true
  

  1. To change logging directory ,please provide the location as value in below key in apminsight.conf file
 apminsight.log.dir=<new logging directory>






                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • APM Insight agent log paths

                        Folder path to view .NET agent logs .NET agent logs can be found only in the common application folder in Windows (usually under C:\ProgramData\ from Vista onwards, which is a hidden folder). Check the following folder paths: For agents v2.5.4 and ...
                      • Folder path to view the Node.js agent logs

                        By default, the logs generated by the Node.js agent are stored in the apminsightdata folder, which resides in your application's current working directory. The log files can be found at: <app-path>\apminsightdata\logs If you would like to customize ...
                      • How can I change the log level for the .NET agent ?

                        Start -> All Programs-> ManageEngine .Net Agent(x64)->Edit configuration->In the 'Log Level' combo box change the log level to 'debug'.
                      • Where can I see the .NET agent logs?

                        The .NET agent logs can be found only in the common application folder (Usually under C:\ProgramData\ from Vista onwards and C:\Documents and Settings\All Users\Application Data\ for Windows Server 2003. This is a hidden folder) Check the below ...
                      • How to change Applications Manager directory from one drive to another?

                        Follow the below steps to change the Applications Manager folder directory from one drive to another: Please copy the Applications Manager folder from the source drive and paste the same on the destination drive. Stop the Applications Manager service ...