Hello there,

 I have an issue with logging from my App that runs within container - no
logging comes out except one that goes to System.out

Here is what I have in stderr of the container (not sure if StaticBinder
duplicate is an issue, but I will certainly try to fix it):

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m;
support was removed in 8.0
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/var/lib/hadoop/yarn/data/usercache/username/appcache/application_1483475903489_0036/container_1483475903489_0036_01_000002/tmp/twill.launcher-1483721015382-0/lib/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/opt/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type
[ch.qos.logback.classic.util.ContextSelectorStaticBinder]
17/01/06 16:43:37 INFO utils.VerifiableProperties: Verifying properties
17/01/06 16:43:37 INFO utils.VerifiableProperties: Property
metadata.broker.list is overridden to host:40040
17/01/06 16:43:37 INFO utils.VerifiableProperties: Property
request.required.acks is overridden to 1
17/01/06 16:43:37 INFO utils.VerifiableProperties: Property
partitioner.class is overridden to
org.apache.twill.internal.kafka.client.IntegerPartitioner
17/01/06 16:43:37 INFO utils.VerifiableProperties: Property
compression.codec is overridden to snappy
17/01/06 16:43:37 INFO utils.VerifiableProperties: Property
key.serializer.class is overridden to
org.apache.twill.internal.kafka.client.IntegerEncoder
17/01/06 16:43:37 INFO utils.VerifiableProperties: Property
serializer.class is overridden to
org.apache.twill.internal.kafka.client.ByteBufferEncoder
17/01/06 16:43:37 INFO client.ClientUtils$: Fetching metadata from
broker id:0,host:host,port:40040 with correlation id 0 for 1 topic(s)
Set(log)
17/01/06 16:43:37 INFO producer.SyncProducer: Connected to host:40040
for producing
17/01/06 16:43:37 INFO producer.SyncProducer: Disconnecting from host:40040
17/01/06 16:43:38 INFO producer.SyncProducer: Connected host:40040 for producing
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
Jan 06, 2017 4:43:55 PM org.hibernate.validator.internal.util.Version <clinit>
INFO: HV000001: Hibernate Validator 5.2.4.Final
17/01/06 16:44:02 INFO producer.Producer: Shutting down producer
17/01/06 16:44:02 INFO producer.ProducerPool: Closing all sync producers
17/01/06 16:44:02 INFO producer.SyncProducer: Disconnecting from host:40040



Thanks

Reply via email to