I'm using tinylog for my logging needs and were wondering if anybody knows a way to log to a file and the console. When I use the configuration below I only get output on the console. When I remove .writer(new ConsoleWriter())
the logging is done only to file (as one would expect).
Configurator.currentConfig()
.level(LoggingLevel.valueOf("TRACE"))
.writer(new RollingFileWriter(file,10))
.writer(new ConsoleWriter())
.activate();