> From: [EMAIL PROTECTED] > > Hi i have a question about logging in Fortress : > > Is it possible to prevent Fortress internal logging to > console ? In fact I would like to have only "my business" > logs in the console. Can i do it declaratively in the xlog file ?
If you give the ContextBuilder a configuration for the LoggerManager, or a concrete LoggerManager, the ContextManager will initialize it so that it uses the ContextManagerConstants.LOG_CATEGORY to determine the default logger category for your Container. It currently defaults to "test", but I am changing it to "fortress" RSN. Your LogKitLoggerManager configuration URI should be bound to ContextManagerConstants.LOGGER_MANAGER_CONFIGURATION_URI, or the concrete Configuration to ContextManagerConstants.LOGGER_MANAGER_CONFIGURATION. Also, keep in mind that the ContainerManager and ContextManager and friends default to the ConsoleLogger until the LoggerManager is set up. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>