Splunk AppDynamics

Machine Agent installation. ERROR StatusLogger No Log4j 2 configuration file found

Hugo_Torres
Explorer

Hi,

I wonder if you can help.

I am installing a machine agent in Linux Server, but installation is not successful. I have the following error.

ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2.

Do you mind to provide some guidance to fix this?

Thanks.

Labels (1)
Tags (2)
0 Karma

Jonathan_Weng
Explorer

Hello Hugo,

Thanks for posting to the AppDynamics Community.

That error message is harmless and can be ignored. It simply states that no log4j 2 config can be found, which is expected because the Machine Agent is still using log4j 1.

What to look for is whether your log contains the message "Started AppDynamics Machine Agent Successfully" and more importantly, whether you can see the agent in your Controller.

If you are not able to see the Machine Agent in the Controller, then there may be other errors in the log to look into, and the document below as well as the Knowledge Base article that it links to may provide additional troubleshooting help:
https://docs.appdynamics.com/display/PROD/Verify+the+Standalone+Machine+Agent+Installation

Best regards,

Jonathan

Hugo_Torres
Explorer

HI Jonathan

Hope you are ok

Thanks for replying, I appreciate it

I followed your recommendations and this is what is happening, I never get "Started AppDynamics Machine Agent Successfully" message and it does not show up in the logs file neither, but I take a look Controller is agent is there, however I do not see any reported basic or advance data.

I turned off SElinux and Firewall for testing proposes but still the same thing.

Any other suggestion, it will be more than welcome.

Thank you.

Best Regard.

     Hugo Torres.

Tags (2)
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...