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

How can I change the collector's log directory?

marius_oehler-e
Newcomer

Hi,

I thought the question that I have is quite trivial but I don't get it or I don't find an answer to it.

How can I change the AppMon collector's (version 7.1) log direcotry? I don't mean the log directory of the launcher which can be set with the "-logdir" argument but the log directory which is by default in "<DT_HOME>/log".

Thanks in advance.


4 REPLIES 4

ravi_kumar11
Mentor

The above solution is for the collector which is on the same host where the AppMon server installed..


ravi_kumar11
Mentor

Hi Marius,

Edit the <installation directory>/collector/conf/collector.config.xml file and change the location of the log path for both the INFO and WARNING and save the file.

HTH,

Ravi


Thanks, that's what I've looked for.


It is also good to know that if the "-instance" option is used, each collector instance is getting a copy of the mentioned file. So there are multiple files which have to be edited (at least in my case):

<installation directory>/collector/instances/<collector instance>/conf/collector.config.xml



Cool... It's helping you.. (y).