Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Environment variable equivalent for -Dappdynamics.agent.logs.dir system property?

Highlighted
Producer

Environment variable equivalent for -Dappdynamics.agent.logs.dir system property?

The 4.3 Java Agent docs list each configuration property with how to set them via:

- environment variable

- java system property

- XML config

 

Except there's a handful of properties which do not list any environment variable. Is that a documentation oversight or can these properties really not be set via environment variables? Examples include:

 

- -Dappdynamics.agent.logs.dir

- -Dappdynamics.agent.auto.node.prefix=<your_prefix>

 

Thanks,

Eric

Environment variable equivalent for -Dappdynamics.agent.logs.dir system property?
2 REPLIES 2
AppDynamics Team

Re: Environment variable equivalent for -Dappdynamics.agent.logs.dir system property?

Hi,

I can see the properties you have mentioned above in the doc .

Please refer to the below doc for reference

https://docs.appdynamics.com/display/PRO43/Java+Agent+Configuration+Properties

 

Thanks,

Atyuha

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Producer

Re: Environment variable equivalent for -Dappdynamics.agent.logs.dir system property?

I'm not following. That's the same document I linked. Many of the configuration properties specify an environment variable, but the log directory one does not.

 

See image below. The "Redirect Logfiles" option does not list an environment variable, while others like "Agent Runtime Directory" do

 

Screen Shot 2017-08-29 at 5.22.16 PM.png