What i did is renamimg logging.yml to something else and then at startup
time I "copy" the contents to logging.yml
Thanks,
Jack

Jinyuan (Jack) Zhou

On Thu, Oct 9, 2014 at 2:28 AM, Daniel P. <[email protected]> wrote:

> We have the same problem is reading .svn/text-base/logging.yml.text-base
> and fails to setup logging.
> I think the loading logic should be a little more restrictive. Loading
> everything that starts with "logging." including files in "hidden"
> directories, is a little bit too much.
>
> I fixed it with mounting an empty directory over the .svn directory. It's
> no problem for us since we mount it over NFS and manage it on another host
> (without the .svn empty directory). You could add that to the initscript
> (mount before starting and umount after the start), if you need to use svn
> on the host itself.
> But imo that's a dirty hack and should be dealt with in elasticsearch (at
> least ignoring "." directories).
>
> Regards
> Daniel
>
> PS: See
> https://github.com/elasticsearch/elasticsearch/blob/1.3/src/main/java/org/elasticsearch/common/logging/log4j/LogConfigurator.java#L107
> (was not present in 1.2)
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elasticsearch/8zlwEj12DjI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/6679e635-5f23-4831-98d6-a34cb5997e66%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/6679e635-5f23-4831-98d6-a34cb5997e66%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CANBTPCG56Q3kgzGD-1jrQqrX_FeQdgB6vj--v-Kh7ANzQ83SGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to