Ability to specify logging file location

Hi,

I looked at the code of elasticsearch, I could not find a way to provide custom logging configuraiton file location. Instead of modifying the installation directory logging config file, I would like to be able to specify -D property with the custom logging file location, similar to how one can profile custom config file:

elasticsearch -f -Des.config=/path/to/config/file

Thank you.
RS.

the title of the post is a bit confusing, apologies. I know how to configure log directory; I meant ability to point to a custom logger configuration file, not the custom log directory.

You can set a path to the config directory, and there set your logging file and other configuration files. See here: http://www.elasticsearch.com/docs/elasticsearch/setup/dirlayout/.
On Sunday, December 5, 2010 at 11:29 PM, rs1050 wrote:

Hi,

I looked at the code of elasticsearch, I could not find a way to provide
custom logging configuraiton file location. Instead of modifying the
installation directory logging config file, I would like to be able to
specify -D property with the custom logging file location, similar to how
one can profile custom config file:

elasticsearch -f -Des.config=/path/to/config/file

Thank you.
RS.

View this message in context: http://elasticsearch-users.115913.n3.nabble.com/ability-to-specify-logging-file-location-tp2024125p2024125.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.