Gentlemen,

i've followed the instructions to set the logger but it does not work.
For the services i have the same problems. The fulcrum services are not
initialized.
Uwe can you please insert your log4j.properties file.
I'll try to use it.

We would better ask to the persons who wrote Fulcrum.

Greetings

Fabio Daprile


Age Mooy <[EMAIL PROTECTED]> said:

> 
> 
> > thanks for your answer.
> > After some complications I got Fulcrum (and all the other components)
> > to log using log4j.properties file. Setting up log4j in the TR.prop file
> > does�nt work.
> 
> Can you describe how you did this ? I still haven't been able to get
> Torque to log to a file (or to anything else) and I haven't even tried
> Fulcrum yet.
> 
> But in general, I would be very interested in using the Fulcrum
> services in my turbine 2.2 app too.
> 
> Age
> 
> 
> 
> > But the problem is still the same. Calling the localization service
> > fulcrum complains that it does not know such a service.
> > In the fulcrum log I can see that a Mapping for the service is generated:
> >
> > 2002-05-28 15:07:07,422 [HttpProcessor[8080][4]] INFO
> > org.apache.fulcrum.Fulcrum - Added Mapping for Service:
> > LocalizationService
> >
> > ... but there is no initialization like for the turbine-services. So I
> > think the services are only registered and not initialized.
> > Any ideas how that could be done ??
> >
> > Uwe
> >
> > -----Urspr�ngliche Nachricht-----
> > Von: Selders, Bart [mailto:[EMAIL PROTECTED]]
> > Gesendet: Sonntag, 26. Mai 2002 22:49
> > An: 'Turbine Users List '
> > Betreff: RE: using the decoupled fulcrum services ?
> >
> >
> > Uwe,
> >
> > In order to get Fulcrum to log I had to do one of the following:
> >
> > - Either create a log4j.properties file and put it in WEB-INF/classes
> >   See log4j website for details on what to specify.
> >
> > - Or alternatively (and easier for T2.2 users) log everything in one log
> > file
> >   To do that I use the following log settings in TR.properties:
> >
> >    services.LoggingService.facilities=system,debug,security,logforj
> >    services.LoggingService.default=logforj
> >    services.LoggingService.loggingConfig=
> > org.apache.turbine.services.logging.PropertiesLoggingConfig
> >
> >    services.LoggingService.logforj.log4j.rootCategory = ALL, logforj
> >    services.LoggingService.logforj.log4j.category.logforj = ALL, logforj
> >    services.LoggingService.logforj.log4j.appender.logforj.file
> > =${webappRoot}/logs/turbine.log
> >    services.LoggingService.logforj.log4j.appender.logforj =
> > org.apache.log4j.FileAppender
> >    services.LoggingService.logforj.log4j.appender.logforj.layout =
> > org.apache.log4j.PatternLayout
> >
> > services.LoggingService.logforj.log4j.appender.logforj.layout.conv
> > ersionPatt
> > ern = [%d{ABSOLUTE} %-5p] %m%n
> >    services.LoggingService.logforj.log4j.appender.logforj.append = false
> >
> > services.LoggingService.logforj.className=org.apache.turbine.servi
> > ces.loggin
> > g.Log4JavaLogger
> >    services.LoggingService.logforj.level=ALL
> >
> > Set the level to one of: ALL, DEBUG, INFO dependent on your need.
> >
> > Success.
> >
> > Bart
> >
> > -----Original Message-----
> > From: Schmidt, Uwe
> > To: Turbine Users List
> > Sent: 5/26/02 6:38 PM
> > Subject: using the decoupled fulcrum services ?
> >
> > Hi
> >
> > I have recently switched to turbine 2.2b1. To complete this I try to
> > switch
> > from the integrated turbine services to the decoupled fulcrum services.
> > As a first aproach I simply tried to replace the Localization-Service.
> > It seems that the fulcrum services are not initialized at all.
> > How can I use them. It seems that I have missed something.
> >
> > This is the error message I get in the log file:
> >
> > Error rendering Velocity template: screens/Index.vm: Invocation of
> > method
> > 'setLanguage' in  class de.gea.wiegand.teben.tools.Session threw
> > exception
> > class org.apache.fulcrum.InstantiationException : ServiceBroker: Unknown
> > Service 'LocalizationService' requested
> >
> > [Fri May 24 18:19:38 CEST 2002] -- ERROR -- Error rendering Velocity
> > template: screens/Index.vm: Error rendering Velocity template:
> > screens/Index.vm: Invocation of method 'setLanguage' in  class
> > de.gea.wiegand.teben.tools.Session threw exception class
> > org.apache.fulcrum.InstantiationException : ServiceBroker: Unknown
> > Service
> > 'LocalizationService' requested
> >
> > The localization is activated in the fulcrum.properties file, but there
> > are no fulcrum messages in the log file at all ....
> > (I�ve already tried several combinations of the path to
> > fulcrum.properties
> > ;-(  )
> >
> > Any ideas ?
> >
> > thanks
> >
> > Uwe
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > *************************************************************************
> > The information contained in this communication is confidential and is
> > intended solely for the use of the individual or entity to  whom it is
> > addressed.You should not copy, disclose or distribute this communication
> > without the authority of iBanx bv. iBanx bv is neither liable for
> > the proper and complete transmission of the information has been
> > maintained
> > nor that the communication is free of viruses, interceptions or
> > interference.
> >
> > If you are not the intended recipient of this communication please return
> > the communication to the sender and delete and destroy all copies.
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 



-- 




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to