I am having issues creating loggers in a manually configured context.
I have created a new context with appenders and they can be access via the
BuiltConfiguration.
But none of my loggers appear to be being added to the configuration.
The calls I am making are:
AppenderRefComponentBuilder appender =
builder.newAppenderRef("logger-name");
LoggerComponentBuilder logger = builder.newLogger(loggerName, level);
logger.add(appender);
logger.build();
builder.add(logger);
What’s wrong?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]