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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...