Redirecting plugin logs


(Greg) #1

Hi Boys and Girls,
First of all, I would like to say, that I use Elastic Search in 1.3.1 version and there are reasons for it. :slight_smile:

I am developing a plugin, which is reindexing some data and I want to redirect all the logs which it produces to the specific file, not to the standard Elastic Search logs, which is, btw, the current behaviour.

My plugin has the log4j configuration, which defines the specific log file, but no matter if I configure it from the code or by the DOMConfigurator, it's always logging to the standard file.

Do you have any advice? Maybe the Elastic Search's configuration overwrites the plugin's one? I would appreciate any tip or even pointing the direction.


(Greg) #2

The problem is solved now. :slight_smile: It was the standard Elastic Search's configuration, which was used all the time. I just added the new appender, which logs messages from specified packages to the different file.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.