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

Changing default logpath for OneAgent

skrystosik
DynaMight Guru
DynaMight Guru

Hello,

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.

Sebastian


Regards, Sebastian
2 REPLIES 2

Enrico_F
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 https://community.dynatrace.com/questions/221228/view.html ).


Tomasz_Gajger
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: https://community.dynatrace.com/content/idea/218002...

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.

Regards,
Tomasz


Featured Posts