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
Solved! Go to Solution.
09 May 2019
07:33 AM
- last edited on
16 Oct 2023
03:44 PM
by
random_user
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 ).
10 May 2019
11:44 AM
- last edited on
16 Oct 2023
03:43 PM
by
random_user
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