Logging and Audit Trail Using the API

Setting Multiple Loggers in Code

To specify multiple loggers using the Flux API, you call Configuration.setLoggerTypes(java.util.Set loggerTypes), where “loggerTypes” is A java.util.Set of flux.logging.LoggerType objects that indicate which loggers the engine should use. For example, to use the Internal Asynchronous and Log4j loggers, you would use the following code:

Configuration config = factory.makeConfiguration();
Set loggers = new HashSet();