Details
Description
Since rc2, the NoSQL DB appender stopped working with the following error message:
[2014-06-26T19:24:10.654+0200] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=18 _ThreadName=Thread-3] [timeMillis: 1403803450654] [levelValue: 800] [[
2014-06-26 19:24:10,653 ERROR Appenders contains an invalid element or attribute "NoSql"]]
[2014-06-26T19:24:10.748+0200] [glassfish 4.0] [INFO] [] [] [tid: _ThreadID=18 _ThreadName=Thread-3] [timeMillis: 1403803450748] [levelValue: 800] [[
2014-06-26 19:24:10,748 ERROR Unable to locate appender databaseAppender for logger]]
The configuration file I'm using is
<?xml version="1.0" encoding="UTF-8"?> <Configuration status="info"> <Appenders> <NoSql name="databaseAppender"> <CouchDb databaseName="kbomaplog" protocol="http" server="127.0.0.1" port="5984" username="meh" password="meh" ignoreExceptions="false" /> </NoSql> <!--RollingFile name="RollingFile" fileName="logs/kbomap.log" filePattern="logs/app-%d{MM-dd-yyyy}.log.gz" ignoreExceptions="false"> <PatternLayout> <Pattern>%d %p %c{1.} [%t] %m%n</Pattern> </PatternLayout> <TimeBasedTriggeringPolicy /> </RollingFile> <Failover name="Failover" primary="databaseAppender"> <Failovers> <AppenderRef ref="RollingFile" /> </Failovers> </Failover--> </Appenders> <Loggers> <Root level="info"> <AppenderRef ref="databaseAppender" /> </Root> </Loggers> </Configuration>
The exact same configuration works find in rc1.