By defaut, the Dynatrace OneAgent logs in the /opt/dynatrace/oneagent/log
How can I change this default behaviour ?
I have found a parameter in the ruxitagentnetwork.conf file and modified like this :
# The path to the directory holding the log files
# Default: <agent location>/../../log
And then restart the oneagent process :
service oneagent stop
service oneagent start
But the OneAgent still logs in the default directory. Is there another parameter to modify ?
Solved! Go to Solution.
There is no supported way to change just the location of OneAgent logs. If you need to change the storage location you could use INSTALL_PATH parameter, as described here:
Please let me know if this solution suits you.