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

Changing the log directory

thierry_chea1
Participant

Hello,

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
LogfilePath /stor/logs/dynatrace

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 ?

Regards,

2 REPLIES 2

Tomasz_Gajger
Dynatrace Champion
Dynatrace Champion

Hi Thierry,

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:

https://www.dynatrace.com/support/help/installatio...

Please let me know if this solution suits you.

Regards,

Tomasz

Featured Posts