You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andreas Hartmann <an...@apache.org> on 2004/02/24 14:04:45 UTC

build.webapp.loglevel does not affect block categories

Hi Cocoon community,

it seems that the log level set in build.webapp.loglevel
does not apply to custom block categories. E.g., in the
cron block, the log level is hard-coded:

<?xml version="1.0"?>
<xlog xpath="/logkit/categories"
       unless="category[@name='cron']">

     <category log-level="INFO" name="cron">
         <log-target id-ref="cron" />
         <log-target id-ref="error"/>
     </category>

</xlog>

Should I file a bug?

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: build.webapp.loglevel does not affect block categories

Posted by Joerg Heinicke <jo...@gmx.de>.
On 25.02.2004 09:53, Andreas Hartmann wrote:

> Joerg Heinicke wrote:
> 
>> Have you tried replacing INFO with @loglevel@ as in main logkit.xconf. 
>> Does this work or is the value not replaced?
> 
> I just tried it, it is not replaced. The filter seems
> to be applied before logkit.xconf is patched. I think
> this an enhancement bug, isn't it?

Ok.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: build.webapp.loglevel does not affect block categories

Posted by Andreas Hartmann <an...@apache.org>.
Joerg Heinicke wrote:

[...]

> Have you tried replacing INFO with @loglevel@ as in main logkit.xconf. 
> Does this work or is the value not replaced?

I just tried it, it is not replaced. The filter seems
to be applied before logkit.xconf is patched. I think
this an enhancement bug, isn't it?

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: build.webapp.loglevel does not affect block categories

Posted by Joerg Heinicke <jo...@gmx.de>.
On 24.02.2004 14:04, Andreas Hartmann wrote:

> Hi Cocoon community,
> 
> it seems that the log level set in build.webapp.loglevel
> does not apply to custom block categories. E.g., in the
> cron block, the log level is hard-coded:
> 
> <?xml version="1.0"?>
> <xlog xpath="/logkit/categories"
>       unless="category[@name='cron']">
> 
>     <category log-level="INFO" name="cron">
>         <log-target id-ref="cron" />
>         <log-target id-ref="error"/>
>     </category>
> 
> </xlog>
> 
> Should I file a bug?

Have you tried replacing INFO with @loglevel@ as in main logkit.xconf. 
Does this work or is the value not replaced?

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org