Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing default logpath for OneAgent

DynaMight Guru
DynaMight Guru


I have question from our client about changing default logpath for oneagent during installation (or after). Is it possible? Documentation only have information about default path. I've checked config files and documentation, but there is no info about such topic.

The only place I see such configuration is initscript of agent, but modification is not good idea 🙂 There is option as well to mount log directory from different location via symlink but this is workaround.


Regards, Sebastian

DynaMight Pro
DynaMight Pro

FWIW: For the logs written by the deep-monitoring agent (e.g. Java) there is an (undocumented) environment variable "DT_STORAGE" that is picked up to determine the storage location of the logfiles and memdumps. This can be set individually in the context of each process but is officially unsupported and has some side-effects (see ).

Dynatrace Champion
Dynatrace Champion

Hi Sebastian,

Changing the log path is currently not possible. However, this feature is already on our roadmap and I encourage you to share your feedback in this RFE:

Changing the value in initscript or any other configuration file will not work properly and is not supported.

Setting DT_STORAGE globally will also not work and as Enrico already mentioned, it is not supported.


Featured Posts