dev@glassfish.java.net

Re: felix noise in server log

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Mon, 09 Nov 2009 17:27:03 -0800

Richard S. Hall wrote:
> On 11/9/09 20:16, Marina Vatkina wrote:
>
>> Richard,
>>
>> Richard S. Hall wrote:
>>
>>> On 11/9/09 20:08, Marina Vatkina wrote:
>>>
>>>> Carla,
>>>>
>>>> Can the default log level for Felix be set to the WARNING instead?
>>>
>>>
>>>
>>> Again, this has nothing to do with the Felix' framework log level,
>>> this is the File Install bundle. I am not sure if it has any controls
>>> to limit its logging.
>>
>>
>> Where does the code come from?
>
>
> The File Install bundle, which is a subproject at Felix. The Apache
> Felix project has many subprojects, the Framework is one subproject.
> File Install is another. They are independent from each other.

Does it use log levels that we can influence or does it use println?

>
> We recently integrated a new version of File Install that outputs less
> information than before. Sahoo provided the patch, I believe. We could
> always file another issue against File Install if we want more
> configurability.

Does it have any?

thanks,
-marina
>
> -> richard
>
>
>>
>> thanks,
>> -marina
>>
>>>
>>> -> richard
>>>
>>>>
>>>> thanks,
>>>> -marina
>>>>
>>>> Carla Mott wrote:
>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I wrote a filter which I can set on our handler that will suppress
>>>>> the INFO (and above) messages if the string 'felix.fileinstall' is
>>>>> found in the message body. That would reduce the noise in the
>>>>> server log file but those messages would appear on the console. I
>>>>> should be able to set the filter on the ConsoleHandler too if we
>>>>> are ok with suppressing them altogether.
>>>>>
>>>>> What do folks think? Is this an ok solution? Short of changing
>>>>> the felix code not sure what else we can do.
>>>>>
>>>>> Carla
>>>>>
>>>>> Lloyd Chambers wrote:
>>>>>
>>>>>> We we need all this noise in the log at startup? Yuck.
>>>>>>
>>>>>>
>>>>>> [#|2009-11-09T09:30:26.127-0800|INFO|glassfishv3.0|null|_ThreadID=21;_ThreadName={felix.fileinstall.poll=5000,
>>>>>> service.pid=org.apache.felix.fileinstall.944052a9-e012-48c7-8e52-d3343a73d609,
>>>>>> felix.fileinstall.bundles.new.start=true,
>>>>>> felix.fileinstall.dir=/Volumes/Stuff/work/v3/glassfishv3/glassfish/domains/domain1/autodeploy/bundles/,
>>>>>> service.factorypid=org.apache.felix.fileinstall,
>>>>>> felix.fileinstall.filename=org.apache.felix.fileinstall-autodeploy-bundles.cfg,
>>>>>> felix.fileinstall.debug=1};|{felix.fileinstall.poll (ms) = 5000,
>>>>>> felix.fileinstall.dir =
>>>>>> /Volumes/Stuff/work/v3/glassfishv3/glassfish/domains/domain1/autodeploy/bundles,
>>>>>> felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start =
>>>>>> true, felix.fileinstall.tmpdir =
>>>>>> /var/folders/t5/t5ElJJJpERqbP8pV8JLhrE+++TM/-Tmp-/fileinstall-713687890332807957,
>>>>>> felix.fileinstall.filter = null}|#]
>>>>>>
>>>>>> [#|2009-11-09T09:30:26.127-0800|INFO|glassfishv3.0|null|_ThreadID=22;_ThreadName={felix.fileinstall.poll=5000,
>>>>>> felix.fileinstall.bundles.new.start=true,
>>>>>> felix.fileinstall.dir=/Volumes/Stuff/work/v3/glassfishv3/glassfish/modules/autostart/,
>>>>>> felix.fileinstall.debug=1};|{felix.fileinstall.poll (ms) = 5000,
>>>>>> felix.fileinstall.dir =
>>>>>> /Volumes/Stuff/work/v3/glassfishv3/glassfish/modules/autostart,
>>>>>> felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start =
>>>>>> true, felix.fileinstall.tmpdir =
>>>>>> /var/folders/t5/t5ElJJJpERqbP8pV8JLhrE+++TM/-Tmp-/fileinstall--5301449680593221034,
>>>>>> felix.fileinstall.filter = null}|#]
>>>>>>
>>>>>> [#|2009-11-09T09:30:26.161-0800|INFO|glassfishv3.0|null|_ThreadID=22;_ThreadName={felix.fileinstall.poll=5000,
>>>>>> felix.fileinstall.bundles.new.start=true,
>>>>>> felix.fileinstall.dir=/Volumes/Stuff/work/v3/glassfishv3/glassfish/modules/autostart/,
>>>>>> felix.fileinstall.debug=1};|Started bundle:
>>>>>> file:/Volumes/Stuff/work/v3/glassfishv3/glassfish/modules/autostart/osgi-web-container.jar|#]
>>>>>>
>>>>>>
>>>>>> [#|2009-11-09T09:30:26.168-0800|INFO|glassfishv3.0|null|_ThreadID=22;_ThreadName={felix.fileinstall.poll=5000,
>>>>>> felix.fileinstall.bundles.new.start=true,
>>>>>> felix.fileinstall.dir=/Volumes/Stuff/work/v3/glassfishv3/glassfish/modules/autostart/,
>>>>>> felix.fileinstall.debug=1};|Started bundle:
>>>>>> file:/Volumes/Stuff/work/v3/glassfishv3/glassfish/modules/autostart/org.apache.felix.scr.jar|#]
>>>>>>
>>>>>>
>>>>>> [#|2009-11-09T09:30:31.179-0800|INFO|glassfishv3.0|null|_ThreadID=22;_ThreadName={felix.fileinstall.poll=5000,
>>>>>> felix.fileinstall.bundles.new.start=true,
>>>>>> felix.fileinstall.dir=/Volumes/Stuff/work/v3/glassfishv3/glassfish/modules/autostart/,
>>>>>> felix.fileinstall.debug=1};|Updating configuration from
>>>>>> org.apache.felix.fileinstall-autodeploy-bundles.cfg|#]
>>>>>>
>>>>>> [#|2009-11-09T09:30:31.182-0800|INFO|glassfishv3.0|null|_ThreadID=22;_ThreadName={felix.fileinstall.poll=5000,
>>>>>> felix.fileinstall.bundles.new.start=true,
>>>>>> felix.fileinstall.dir=/Volumes/Stuff/work/v3/glassfishv3/glassfish/modules/autostart/,
>>>>>> felix.fileinstall.debug=1};|Installed
>>>>>> /Volumes/Stuff/work/v3/glassfishv3/glassfish/modules/autostart/org.apache.felix.fileinstall-autodeploy-bundles.cfg|#]
>>>>>>
>>>>>>
>>>>>> [#|2009-11-09T09:30:31.184-0800|INFO|glassfishv3.0|null|_ThreadID=23;_ThreadName={felix.fileinstall.poll=5000,
>>>>>> felix.fileinstall.bundles.new.start=true,
>>>>>> service.pid=org.apache.felix.fileinstall.944052a9-e012-48c7-8e52-d3343a73d609,
>>>>>> felix.fileinstall.dir=/Volumes/Stuff/work/v3/glassfishv3/glassfish/domains/domain1/autodeploy/bundles/,
>>>>>> felix.fileinstall.filename=org.apache.felix.fileinstall-autodeploy-bundles.cfg,
>>>>>> service.factorypid=org.apache.felix.fileinstall,
>>>>>> felix.fileinstall.debug=1};|{felix.fileinstall.poll (ms) = 5000,
>>>>>> felix.fileinstall.dir =
>>>>>> /Volumes/Stuff/work/v3/glassfishv3/glassfish/domains/domain1/autodeploy/bundles,
>>>>>> felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start =
>>>>>> true, felix.fileinstall.tmpdir =
>>>>>> /var/folders/t5/t5ElJJJpERqbP8pV8JLhrE+++TM/-Tmp-/fileinstall-4635656718217177667,
>>>>>> felix.fileinstall.filter = null}|#]
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>