You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by David KOCH <dk...@ezakus.com> on 2014/07/20 20:44:47 UTC
Appenders contains an invalid element or attribute "NoSql"
Hello,
I get this message:
"Appenders contains an invalid element or attribute "NoSql"
at start-up since switching from 2.0-rc1 to 2.0 when attempting to log to
Mongo. My configuration has not changed.
What's the new configuration name of the appender?
Thanks,
/David
Re: Appenders contains an invalid element or attribute "NoSql"
Posted by David KOCH <dk...@ezakus.com>.
Hi Matt,
That was it. Works now, thanks.
/David
On Sun, Jul 20, 2014 at 10:45 PM, Matt Sicker <bo...@gmail.com> wrote:
> You need to add log4j-nosql to your classpath. It was separated from
> log4j-core due to its, uh, non-core-ness.
>
>
> On 20 July 2014 15:25, David KOCH <dk...@ezakus.com> wrote:
>
> > Actually, I just checked the source - the nosql.mongodb package is no
> > longer present in 2.0, it was in 2.0-rc1. Is this intended?
> >
> > /David
> >
> >
> > On Sun, Jul 20, 2014 at 8:55 PM, Matt Sicker <bo...@gmail.com> wrote:
> >
> > > MongoDb is the name.
> > >
> > >
> > > On 20 July 2014 13:44, David KOCH <dk...@ezakus.com> wrote:
> > >
> > > > Hello,
> > > >
> > > > I get this message:
> > > >
> > > > "Appenders contains an invalid element or attribute "NoSql"
> > > >
> > > > at start-up since switching from 2.0-rc1 to 2.0 when attempting to
> log
> > to
> > > > Mongo. My configuration has not changed.
> > > >
> > > > What's the new configuration name of the appender?
> > > >
> > > > Thanks,
> > > >
> > > > /David
> > > >
> > >
> > >
> > >
> > > --
> > > Matt Sicker <bo...@gmail.com>
> > >
> >
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>
Re: Appenders contains an invalid element or attribute "NoSql"
Posted by Matt Sicker <bo...@gmail.com>.
You need to add log4j-nosql to your classpath. It was separated from
log4j-core due to its, uh, non-core-ness.
On 20 July 2014 15:25, David KOCH <dk...@ezakus.com> wrote:
> Actually, I just checked the source - the nosql.mongodb package is no
> longer present in 2.0, it was in 2.0-rc1. Is this intended?
>
> /David
>
>
> On Sun, Jul 20, 2014 at 8:55 PM, Matt Sicker <bo...@gmail.com> wrote:
>
> > MongoDb is the name.
> >
> >
> > On 20 July 2014 13:44, David KOCH <dk...@ezakus.com> wrote:
> >
> > > Hello,
> > >
> > > I get this message:
> > >
> > > "Appenders contains an invalid element or attribute "NoSql"
> > >
> > > at start-up since switching from 2.0-rc1 to 2.0 when attempting to log
> to
> > > Mongo. My configuration has not changed.
> > >
> > > What's the new configuration name of the appender?
> > >
> > > Thanks,
> > >
> > > /David
> > >
> >
> >
> >
> > --
> > Matt Sicker <bo...@gmail.com>
> >
>
--
Matt Sicker <bo...@gmail.com>
Re: Appenders contains an invalid element or attribute "NoSql"
Posted by David KOCH <dk...@ezakus.com>.
Actually, I just checked the source - the nosql.mongodb package is no
longer present in 2.0, it was in 2.0-rc1. Is this intended?
/David
On Sun, Jul 20, 2014 at 8:55 PM, Matt Sicker <bo...@gmail.com> wrote:
> MongoDb is the name.
>
>
> On 20 July 2014 13:44, David KOCH <dk...@ezakus.com> wrote:
>
> > Hello,
> >
> > I get this message:
> >
> > "Appenders contains an invalid element or attribute "NoSql"
> >
> > at start-up since switching from 2.0-rc1 to 2.0 when attempting to log to
> > Mongo. My configuration has not changed.
> >
> > What's the new configuration name of the appender?
> >
> > Thanks,
> >
> > /David
> >
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>
Re: Appenders contains an invalid element or attribute "NoSql"
Posted by Matt Sicker <bo...@gmail.com>.
MongoDb is the name.
On 20 July 2014 13:44, David KOCH <dk...@ezakus.com> wrote:
> Hello,
>
> I get this message:
>
> "Appenders contains an invalid element or attribute "NoSql"
>
> at start-up since switching from 2.0-rc1 to 2.0 when attempting to log to
> Mongo. My configuration has not changed.
>
> What's the new configuration name of the appender?
>
> Thanks,
>
> /David
>
--
Matt Sicker <bo...@gmail.com>