You are right, but I dont want to use some logger, I want to use the 'single overall logger' that should be build into jahia (even if jahia uses log4j). I can always implement my own logging, going to a new file always (or having racing conditions otherwise). So instead of calling log4j myself I expect some getLogger() method inside jahia, that gives me the logger to which all jahia log information is written to. But again, if we have a limit of 500 entries, this can't be used in production anyway (first because it is in the database and second because it is limited). Okay, nevertheless, we will work out a solution... Wolfram
________________________________ Von: Serge Huber [mailto:[EMAIL PROTECTED] Gesendet: Fr 13.08.2004 14:44 An: [EMAIL PROTECTED] Betreff: Re: AW: Logging inside Jahia 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
<<winmail.dat>>
