Lucene and Solr loggin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Lucene and Solr loggin

Jacques Le Roux
Administrator
Hi,

I noticed this error in trunk demo error.log

2017-05-16 03:05:38,898 |0.0.0.0-startStop-1 |StartupLoggingUtils           |E| Missing Java Option solr.log.dir. Logging may be missing or incomplete.

It's thrown by https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/servlet/StartupLoggingUtils.java

I can't see nothing at https://localhost:8443/solr/#/~logging

Is that really an issue in our case?  It seems there is not much we can do about it.

Thanks

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Lucene and Solr loggin

Shi Jinghai-3
Hi Jacques,

In ${ofbiz.home}/build.gradle, adding solr.log.dir and solr.log.level can remove this error message, i.e.:
def jvmArguments = ['-Xms128M', '-Xmx1024M',
                        '-Dsolr.log.dir=runtime/logs',
                                        '-Dsolr.log.level=INFO']

I tried define jvmArguments in ${ofbiz.home}/plugins/solr/build.gradle, it doesn't work.

Kind Regards,

Shi Jinghai

-----邮件原件-----
发件人: Jacques Le Roux [mailto:[hidden email]]
发送时间: 2017年5月19日 17:55
收件人: [hidden email]
主题: Lucene and Solr loggin

Hi,

I noticed this error in trunk demo error.log

2017-05-16 03:05:38,898 |0.0.0.0-startStop-1 |StartupLoggingUtils           |E| Missing Java Option solr.log.dir. Logging may be missing or incomplete.

It's thrown by https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/servlet/StartupLoggingUtils.java

I can't see nothing at https://localhost:8443/solr/#/~logging

Is that really an issue in our case?  It seems there is not much we can do about it.

Thanks

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Lucene and Solr loggin

taher
The master build.gradle file should not point to any plugins

On Fri, May 19, 2017 at 1:10 PM, Shi Jinghai <[hidden email]> wrote:

> Hi Jacques,
>
> In ${ofbiz.home}/build.gradle, adding solr.log.dir and solr.log.level can
> remove this error message, i.e.:
> def jvmArguments = ['-Xms128M', '-Xmx1024M',
>                         '-Dsolr.log.dir=runtime/logs',
>                                         '-Dsolr.log.level=INFO']
>
> I tried define jvmArguments in ${ofbiz.home}/plugins/solr/build.gradle,
> it doesn't work.
>
> Kind Regards,
>
> Shi Jinghai
>
> -----邮件原件-----
> 发件人: Jacques Le Roux [mailto:[hidden email]]
> 发送时间: 2017年5月19日 17:55
> 收件人: [hidden email]
> 主题: Lucene and Solr loggin
>
> Hi,
>
> I noticed this error in trunk demo error.log
>
> 2017-05-16 03:05:38,898 |0.0.0.0-startStop-1 |StartupLoggingUtils
>  |E| Missing Java Option solr.log.dir. Logging may be missing or incomplete.
>
> It's thrown by https://github.com/apache/lucene-solr/blob/master/solr/
> core/src/java/org/apache/solr/servlet/StartupLoggingUtils.java
>
> I can't see nothing at https://localhost:8443/solr/#/~logging
>
> Is that really an issue in our case?  It seems there is not much we can do
> about it.
>
> Thanks
>
> Jacques
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Lucene and Solr loggin

Jacques Le Roux
Administrator
Thank you Jinghai, Taher,

I put the same in both lucene and solr components (Solrs relies on Lucene) and of course there are no drawbacks

I must say I was not able to reproduce the "error" locally. But I anyway propose to commit in the 2 plugins to reassur people who could else wonder.

And it may also be useful at some point, who knows...

Jacques


Le 19/05/2017 à 15:08, Taher Alkhateeb a écrit :

> The master build.gradle file should not point to any plugins
>
> On Fri, May 19, 2017 at 1:10 PM, Shi Jinghai <[hidden email]> wrote:
>
>> Hi Jacques,
>>
>> In ${ofbiz.home}/build.gradle, adding solr.log.dir and solr.log.level can
>> remove this error message, i.e.:
>> def jvmArguments = ['-Xms128M', '-Xmx1024M',
>>                          '-Dsolr.log.dir=runtime/logs',
>>                                          '-Dsolr.log.level=INFO']
>>
>> I tried define jvmArguments in ${ofbiz.home}/plugins/solr/build.gradle,
>> it doesn't work.
>>
>> Kind Regards,
>>
>> Shi Jinghai
>>
>> -----邮件原件-----
>> 发件人: Jacques Le Roux [mailto:[hidden email]]
>> 发送时间: 2017年5月19日 17:55
>> 收件人: [hidden email]
>> 主题: Lucene and Solr loggin
>>
>> Hi,
>>
>> I noticed this error in trunk demo error.log
>>
>> 2017-05-16 03:05:38,898 |0.0.0.0-startStop-1 |StartupLoggingUtils
>>   |E| Missing Java Option solr.log.dir. Logging may be missing or incomplete.
>>
>> It's thrown by https://github.com/apache/lucene-solr/blob/master/solr/
>> core/src/java/org/apache/solr/servlet/StartupLoggingUtils.java
>>
>> I can't see nothing at https://localhost:8443/solr/#/~logging
>>
>> Is that really an issue in our case?  It seems there is not much we can do
>> about it.
>>
>> Thanks
>>
>> Jacques
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Lucene and Solr loggin

Jacques Le Roux
Administrator
Forgot to say I improved at r1795781

Jacques


Le 20/05/2017 à 10:11, Jacques Le Roux a écrit :

> Thank you Jinghai, Taher,
>
> I put the same in both lucene and solr components (Solrs relies on Lucene) and of course there are no drawbacks
>
> I must say I was not able to reproduce the "error" locally. But I anyway propose to commit in the 2 plugins to reassur people who could else wonder.
>
> And it may also be useful at some point, who knows...
>
> Jacques
>
>
> Le 19/05/2017 à 15:08, Taher Alkhateeb a écrit :
>> The master build.gradle file should not point to any plugins
>>
>> On Fri, May 19, 2017 at 1:10 PM, Shi Jinghai <[hidden email]> wrote:
>>
>>> Hi Jacques,
>>>
>>> In ${ofbiz.home}/build.gradle, adding solr.log.dir and solr.log.level can
>>> remove this error message, i.e.:
>>> def jvmArguments = ['-Xms128M', '-Xmx1024M',
>>>                          '-Dsolr.log.dir=runtime/logs',
>>> '-Dsolr.log.level=INFO']
>>>
>>> I tried define jvmArguments in ${ofbiz.home}/plugins/solr/build.gradle,
>>> it doesn't work.
>>>
>>> Kind Regards,
>>>
>>> Shi Jinghai
>>>
>>> -----邮件原件-----
>>> 发件人: Jacques Le Roux [mailto:[hidden email]]
>>> 发送时间: 2017年5月19日 17:55
>>> 收件人: [hidden email]
>>> 主题: Lucene and Solr loggin
>>>
>>> Hi,
>>>
>>> I noticed this error in trunk demo error.log
>>>
>>> 2017-05-16 03:05:38,898 |0.0.0.0-startStop-1 |StartupLoggingUtils
>>>   |E| Missing Java Option solr.log.dir. Logging may be missing or incomplete.
>>>
>>> It's thrown by https://github.com/apache/lucene-solr/blob/master/solr/
>>> core/src/java/org/apache/solr/servlet/StartupLoggingUtils.java
>>>
>>> I can't see nothing at https://localhost:8443/solr/#/~logging
>>>
>>> Is that really an issue in our case?  It seems there is not much we can do
>>> about it.
>>>
>>> Thanks
>>>
>>> Jacques
>>>
>>>
>
>