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 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 Service User Account for EUM Agent in Windows?

                      When the EUM agent is installed as a service in Windows, it will be configured to use the Local System Account. However, running the EUM agent under the Local System Account does not provide sufficient permissions to run Chrome/Edge browser for Real ...