I'm still not sure I understand what you're trying to do. If you want to get a Log4J logger, you can simply do :
private static org.apache.log4j.Logger logger =
org.apache.log4j.Logger.getLogger(ActionHandler.class);Regards, Serge Huber.
At 14:36 12.08.2004, you wrote:
What I meant is that I want to write to the log myself. But if Jahia limits the entries to 500 it can't be used for production anyway.
Is there a way to get a logger and write to it?
Wolfram
________________________________
Von: Serge Huber [mailto:[EMAIL PROTECTED] Gesendet: Do 12.08.2004 14:33 An: [EMAIL PROTECTED] Betreff: Re: Logging inside Jahia
What do you mean by the logging mechanism ? Do you mean the Log4J output in the console, the "Log" tab in the popups or something else ?
The "Log" data is stored in a database table called jahia_audit_log but is limited to the last 500 entries.
Regards, Serge Huber.
At 09:41 12.08.2004, you wrote: >Hi, > >is there a way to use Jahias logging mechanism? I already had a look >into several of the documentation files and also tried google to find >information but I couldn't get any results. > >If not I would have to use log4j myself but this would result in another >logfile. Writing to the same log from different instances would cause >racing conditions otherwise. > >Any suggestions? > > >Wolfram
- -- --- -----=[ serge.huber at jahia dot com ]=---- --- -- - Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company
- -- --- -----=[ serge.huber at jahia dot com ]=---- --- -- -
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
