Problem with -Des.config and logging.yml

Hello

I have a problem with loggin.yml. If I launch elasticsearch -f, it
uses elasticsearch.yml and logging.yml from the usual config
directory. But if I use -Des.config to use a different
elasticsearch.yml, it seems to no longer use config/logging.yml.

Is there some way to tell freeswitch to use a specific logging.yml in
the same way you can use -Des.config to use a specific
elasticsearch.yml?

Thank you

Are you sure that thats the case? -Des.config only sets the exact path to
the configuration file. Are you sure you are not setting by mistake the
-Des.path.conf parameter?

On Mon, Jul 25, 2011 at 9:13 PM, CarlosJ carlosj.gf@gmail.com wrote:

Hello

I have a problem with loggin.yml. If I launch elasticsearch -f, it
uses elasticsearch.yml and logging.yml from the usual config
directory. But if I use -Des.config to use a different
elasticsearch.yml, it seems to no longer use config/logging.yml.

Is there some way to tell freeswitch to use a specific logging.yml in
the same way you can use -Des.config to use a specific
elasticsearch.yml?

Thank you

Ok, I have done more tests and the "problem" was elasticsearch seems
to be reading logging.yml from the CURRENT directory, and in case it
is not there, in the standard directory. I had another version in my
current directory, and it was been used instead of the main one. I
suppose this is the expected behaviour.

Thank you,
CarlosJ

On 26 jul, 07:58, Shay Banon shay.ba...@elasticsearch.com wrote:

Are you sure that thats the case? -Des.config only sets the exact path to
the configuration file. Are you sure you are not setting by mistake the
-Des.path.conf parameter?

On Mon, Jul 25, 2011 at 9:13 PM, CarlosJ carlosj...@gmail.com wrote:

Hello

I have a problem with loggin.yml. If I launch elasticsearch -f, it
uses elasticsearch.yml and logging.yml from the usual config
directory. But if I use -Des.config to use a different
elasticsearch.yml, it seems to no longer use config/logging.yml.

Is there some way to tell freeswitch to use a specific logging.yml in
the same way you can use -Des.config to use a specific
elasticsearch.yml?

Thank you