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
>