1 <?xml version="1.0" encoding="UTF-8"?> 2 <Configuration status="ERROR"> 3 <Appenders> 4 <RandomAccessFile name="RandomAccessFile" fileName="target/NanoTimeToFileTest.log" 5 immediateFlush="true" append="false"> 6 <PatternLayout> 7 <Pattern>%N AND %nano AND %m%n</Pattern> 8 </PatternLayout> 9 </RandomAccessFile> 10 </Appenders> 11 12 <Loggers> 13 <Root level="info" includeLocation="false"> 14 <AppenderRef ref="RandomAccessFile"/> 15 </Root> 16 </Loggers> 17 </Configuration>