log4j:WARN No appenders could be found for logger (javapns.notification.Payload).

200 views
Skip to first unread message

Trez Ertzzer

unread,
Dec 11, 2016, 1:40:13 PM12/11/16
to Google App Engine
hello,
in the logs on the google developper console, I can see this warning:

<stderr>: log4j:WARN No appenders could be found for logger (javapns.notification.Payload).


here is my appengine-web.xml

  <!-- Configure java.util.logging -->

  <system-properties>

    <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>

    <property name="log4j.configuration" value="WEB-INF/classes/log4j.properties"/>

  </system-properties>


logging.properties contains only this:

.level = WARNING



log4j.properties contains this:

# Configure the console as our one appender

log4j.rootLogger=debug

log4j.appender.console=org.apache.log4j.ConsoleAppender

log4j.appender.A1=org.apache.log4j.ConsoleAppender

log4j.appender.A1.layout=org.apache.log4j.PatternLayout

log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] - %m%n


# tighten logging on the DataNucleus Categories

log4j.category.DataNucleus.JDO=WARN, A1

log4j.category.DataNucleus.Persistence=WARN, A1

log4j.category.DataNucleus.Cache=WARN, A1

log4j.category.DataNucleus.MetaData=WARN, A1

log4j.category.DataNucleus.General=WARN, A1

log4j.category.DataNucleus.Utility=WARN, A1

log4j.category.DataNucleus.Transaction=WARN, A1

log4j.category.DataNucleus.Datastore=WARN, A1

log4j.category.DataNucleus.ClassLoading=WARN, A1

log4j.category.DataNucleus.Plugin=WARN, A1

log4j.category.DataNucleus.ValueGeneration=WARN, A1

log4j.category.DataNucleus.Enhancer=WARN, A1

log4j.category.DataNucleus.SchemaTool=WARN, A1



I have read a lot of this but did not understand what to do in order to get rid of that "warning".... (because of it I can't see the ones that are actually important..)

please note that the trace comes from "javapns" wich is a java library I use (but cannot modidy).


thank you.

Nick (Cloud Platform Support)

unread,
Dec 12, 2016, 3:38:00 PM12/12/16
to Google App Engine
Hey Trez,

This appears to be a request for assistance with a specific technical issue, while this forum is meant for more general higher-level discussion of the platform, services, design patterns, etc. I suggest you post this question to Stack Overflow, and also search there, as there appears to be a wealth of questions about error messages very similar to this one - this one containing an identical error. We monitor relevant tags on Stack Overflow and the forum is generally very well-populated with helpful people.

Cheers,

Nick
Cloud Platform Community Support

Nick (Cloud Platform Support)

unread,
Dec 20, 2016, 4:46:58 PM12/20/16
to Google App Engine
Hey Trez,

Did you end up checking out the question I linked, or posting your own question?


Cheers,

Nick
Cloud Platform Community Support

On Sunday, December 11, 2016 at 1:40:13 PM UTC-5, Trez Ertzzer wrote:
Reply all
Reply to author
Forward
0 new messages