: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 logkit.jar that comes vith excalibur 4.0b4
Any help appreciated.
Jan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>