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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...