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

Can i change default OneAgent log directory on installation\working?

Romanenkov_Alex
Advisor

Hello.

I want to customize installation of my agent.

I can change installation directory with parameter: INSTALL_PATH -> /monitoring/

How i can change log directory default - /var/log/dynatrace to /monitoring/log/

It is possible or not?

I searched forum and find this topic? Any updates?

Regards,

Alexander


3 REPLIES 3

sebastian_kryst
DynaMight Leader
DynaMight Leader

There is no update for this. The only idea I have (and tested) is overwrite log directory with symbolic link to path of your choice, but this can be done manual only (or via ansible). So it cannot be done during installation.

Sebastian


Tomasz_Gajger
Dynatrace Pro
Dynatrace Pro

Hi Alexander,

The default log directory used by OneAgent is /opt/dynatrace/oneagent/log, not /var/log/dynatrace.

Currently it is not possible to change just the logs location, you need to change the entire installation path via INSTALL_PATH parameter.

I encourage you to share your opinion under the following Product Idea: https://answers.dynatrace.com/content/idea/218002/rfe-allow-alternate-log-path-for-oneagent.html

Please also note that the workaround mentioned by Sebastian would be an unsupported modification of our installation structure.

Regards,
Tomasz


Thank you, Tomasz.

I have already voted for this.

It is clear.