We're using 2.1.9. I simply use a logAction like this
<map match pattern="...
<map:act type="logging">
<map:param name="level" value="info">
<map:param name="message" value="some logging ">
</map:act>
</map:match>
The implementation of it is a really simple extension of the
AbstractAction. with some log4j code inside. Works really nicely for
what I need.
Best,
Alec
Johannes Hoechstaedter wrote:
Sorry for double posting. That was not wanted. But maybe some one has an
idea?
Johannes Hoechstaedter schrieb:
Johannes Hoechstaedter schrieb:
Hello everybody,
is there a possibility to fire log events from the cocoon sitemap?
The background is, I want to have some logging on database actions.
Which tables and or rowsets are affected and so on. I tried the
default log by log4j (DEBUG, INFO,...)., but it wasn't very effective
for my purpose. I am not close to a logging system. Maybe I want to
log into a database or file. Any experiences? How can I do that?
cheers
Johannes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]