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'.
                    • APMInsight - NET Agent Onboarding - KB

                      This document provides a step-by-step guide to onboard and troubleshoot the APM Insight .NET Agent. It includes environment verification, permission checks, network connectivity validation, and solutions for common installation and configuration ...
                    • List of log files generated and maintained by the Applications Manager server monitoring agent

                      Here is the list of log files generated by the Linux and Windows server monitoring agent. The log files are stored in the same directory where the agent source file is installed. By default they are at: For Linux: ...