Re: What is this exist.log INFO message about compression module?
Adam Retter <adam <at> exist-db.org>
2010-07-01 10:49:23 GMT
> While I understand the modules are written by different folks, and I can
> understand a desire for a module author to say "hey I loaded".
Ideally it should be the loader that says this and not the module
itself. As such I just removed these messages from the modules that do
this in trunk.
> However,
> what remains confusing, is why an author would write a log message every 10
> minutes or less stating nothing of importance.
Well if I am understanding the code correctly, line 3267 of
org.exist.xquery.XQueryContext correctly, then it would seem to me
that all modules declared in conf.xml are instantiated for any XQuery
that is executed. Obviously this is not really desirable, we should
look to change this approach, perhaps one of -
1) Modules are lazy instantiated for an XQuery as they are required,
in this way an XQuery may declare a module but it need not be
instantiated unless it is actually used. Different paths of execution
through the query may mean that a module is never used in actuality.
2) Only required modules are instantiated at compile time, or first
execution. (These can be determined by the declared namespaces).
Cheers Adam.
> Moreover, because I am not actively using the functions of the module and
> while I have not testing outside of our production environment -- it sure
> seems like this compression module is being actively used by some other
> non-compression module function or by eXist's internals. This is my primary
> concern: is something correctly or incorrectly causing this INFO message to
> be written over and over and over.
>
>
>
> James Fuller-8 wrote:
>>
>> as for 'using an extension module' you activate/deactivate in conf.xml ...
>> if you want compression module to be made unavailable just find it in
>> conf.xml and comment it out.
>>
> At this stage, I am not interested in deactivating the module as I
> uncommented it for an upcoming effort. I will probably just filter this
> useless verbose logging.
>
> --
> View this message in context: http://exist.2174344.n4.nabble.com/What-is-this-exist-log-INFO-message-about-compression-module-tp2274725p2274821.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Exist-open mailing list
> Exist-open <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/exist-open
>
--
--
Adam Retter
eXist Developer
{ United Kingdom }
adam <at> exist-db.org
irc://irc.freenode.net/existdb
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open