:> :public void initialize() throws Exception {
:> :   org.apache.log.Logger logger = Hierarchy.getDefaultHierarchy().
:> :            getLoggerFor("document");
:> :
:> :    DefaultConfigurationBuilder builder = new DefaultConfigurationBuilder();
:> :    Configuration sysConfig = builder.buildFromFile(
:> :            "/home/hans/casopis/system.xml");
:> :    Configuration roleConfig =
:> :            builder.build(this.getClass().getClassLoader().getResourceAsStream(
:> :            "/home/hans/casopis/document.roles"));
:> :    DefaultRoleManager roles = new DefaultRoleManager();
:> :
:> :    roles.enableLogging(new LogKitLogger( logger ));
:> :
:> :    roles.configure(roleConfig);
:> :
:> :    this.manager.setLogger(logger);
:> :
:> :    this.manager.contextualize(new DefaultContext());
:> :    this.manager.setRoleManager(roles);
:> :    this.manager.configure(sysConfig);
:> :    this.manager.initialize();
:> :}
:> 
:> Well ... this doesn't compile (cannot resolve symbol LogKitLogger)
:> - looking into org/apache/log, there is really no LogKitLogger,
:> and it doesn't compile with
:> new LogKit(logger)
:> neither
:> 
:> It 's logkit.jar that comes vith excalibur 4.0b4
:
:
:Try org.apache.avalon.framework.logger.LogKitLogger
:That is where the new Logger abstraction stuff is.

I just got the latest Framework, so I got LogKitLogger,
but still the
roles.enableLogging()
doesn't compile. From who should (RefaultRoleManager)roles
inherit this method?

Thanks again for patience

Jan


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

Reply via email to