You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gerry Kaplan <gk...@kaplansoftware.com> on 2005/10/18 21:06:14 UTC

Generating log entries

Is there a built-in mechanism for writing entries to a log file from within
a pipeline? I'd like to be able to write a log entry whenever someone is
authenticated into the system, as well as when they request certain
pipelines. I thought there might be a "logaction" but I don't see anything.
Can anyone push me in the right direction?

Thanks,
Gerry

Re: Generating log entries

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 18 oct. 05, à 21:06, Gerry Kaplan a écrit :

> ... thought there might be a "logaction" but I don't see anything.

I don't think there's such an action in our code, but it's easy to 
implement, see http://wiki.apache.org/cocoon/LogAction

-Bertrand


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


Re: Generating log entries

Posted by Tony Collen <co...@umn.edu>.
Gerry,

There's a LogTransformer, but it logs SAX events, not general things. It 
should be pretty easy to adopt it into a LogAction that will allow you 
to log anything you want though.

HTH,
Tony

Gerry Kaplan wrote:
> Is there a built-in mechanism for writing entries to a log file from within
> a pipeline? I'd like to be able to write a log entry whenever someone is
> authenticated into the system, as well as when they request certain
> pipelines. I thought there might be a "logaction" but I don't see anything.
> Can anyone push me in the right direction?
> 
> Thanks,
> Gerry


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