[
https://issues.apache.org/jira/browse/JAMES-3248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17140221#comment-17140221
]
David Leangen commented on JAMES-3248:
--------------------------------------
bq. Maybe the "Basic Server operator" just needs to be aware of warnings &
error, we can increase the logging level.
FYI, I set the log level to WARN in the logback.xml file. What I pasted above
is the less chattery version of the logs.
bq. > james_1 | java.lang.IllegalStateException: Lookup of localhost A isn't
done <snip>
bq. I would like to have a look at that one too. Can you detail me <snip> ?
Yes:
{noformat}
james_1 | 04:25:20.315 [ERROR] o.a.j.d.l.AbstractDomainList - Cannot get IP
address(es) for Domain : localhost
james_1 | 04:25:20.327 [WARN ] o.a.j.s.c.c.FileConfigurationProvider - Unable
to locate configuration file usersrepository.xml, assuming empty configuration
james_1 | 04:25:20.330 [WARN ] o.a.j.s.c.c.FileConfigurationProvider - Unable
to locate configuration file recipientrewritetable.xml, assuming empty
configuration
james_1 | 04:25:20.572 [WARN ] o.a.j.d.d.DNSJavaService - Error determining
result
james_1 | java.lang.IllegalStateException: Lookup of localhost A isn't done
james_1 | at org.xbill.DNS.Lookup.checkDone(Lookup.java:594)
james_1 | at org.xbill.DNS.Lookup.getResult(Lookup.java:631)
james_1 | at
org.apache.james.dnsservice.dnsjava.DNSJavaService.lookup(DNSJavaService.java:378)
james_1 | at
org.apache.james.dnsservice.dnsjava.DNSJavaService.lookupNoException(DNSJavaService.java:400)
james_1 | at
org.apache.james.dnsservice.dnsjava.DNSJavaService.getAllByName(DNSJavaService.java:473)
james_1 | at
org.apache.james.domainlist.lib.AbstractDomainList.getDomainIpStream(AbstractDomainList.java:241)
james_1 | at
org.apache.james.domainlist.lib.AbstractDomainList.lambda$getDomainsIpStream$2(AbstractDomainList.java:235)
james_1 | at
java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
james_1 | at
java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown
Source)
james_1 | at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown
Source)
james_1 | at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
james_1 | at
java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
james_1 | at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown
Source)
james_1 | at java.base/java.util.stream.ReferencePipeline.collect(Unknown
Source)
james_1 | at
org.apache.james.domainlist.lib.AbstractDomainList.detectIps(AbstractDomainList.java:204)
james_1 | at
org.apache.james.domainlist.lib.AbstractDomainList.getDomainsWithType(AbstractDomainList.java:190)
james_1 | at
org.apache.james.domainlist.lib.AbstractDomainList.getDomains(AbstractDomainList.java:169)
james_1 | at
org.apache.james.domainlist.lib.AbstractDomainList.containsDomain(AbstractDomainList.java:164)
james_1 | at
org.apache.james.mailetcontainer.impl.JamesMailetContext.configure(JamesMailetContext.java:428)
james_1 | at
org.apache.james.modules.server.CamelMailetContainerModule.lambda$initMailetContext$2(CamelMailetContainerModule.java:136)
james_1 | at
org.apache.james.utils.InitilizationOperationBuilder$PrivateImpl.initModule(InitilizationOperationBuilder.java:52)
james_1 | at
com.github.fge.lambdas.consumers.ConsumerChainer.lambda$sneakyThrow$9(ConsumerChainer.java:73)
james_1 | at
java.base/java.util.stream.ReferencePipeline$11$1.accept(Unknown Source)
james_1 | at java.base/java.util.stream.DistinctOps$1$2.accept(Unknown
Source)
james_1 | at
java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
james_1 | at
java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
james_1 | at
java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown
Source)
james_1 | at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown
Source)
james_1 | at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
james_1 | at
java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown
Source)
james_1 | at
java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown
Source)
james_1 | at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown
Source)
james_1 | at java.base/java.util.stream.ReferencePipeline.forEach(Unknown
Source)
james_1 | at
java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
james_1 | at
java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown
Source)
james_1 | at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown
Source)
james_1 | at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
james_1 | at
java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
james_1 | at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown
Source)
james_1 | at java.base/java.util.stream.ReferencePipeline.collect(Unknown
Source)
james_1 | at
org.apache.james.utils.InitializationOperations.processConfigurables(InitializationOperations.java:53)
james_1 | at
org.apache.james.utils.InitializationOperations.initModules(InitializationOperations.java:43)
james_1 | at
org.apache.james.GuiceJamesServer.start(GuiceJamesServer.java:88)
james_1 | at
org.apache.james.JamesServerMain.main(JamesServerMain.java:34)
james_1 | at
org.apache.james.JPAJamesServerMain.main(JPAJamesServerMain.java:95)
{noformat}
> Eliminate log warnings
> ----------------------
>
> Key: JAMES-3248
> URL: https://issues.apache.org/jira/browse/JAMES-3248
> Project: James Server
> Issue Type: Sub-task
> Reporter: David Leangen
> Priority: Major
>
> Warnings generated in the logs should be ideally completely eliminated, as it
> creates anxiety for the Basic Operator and is bad for mental health. ;)
> I will post the warnings here one by one so we can figure out how to deal
> with each of them (simple resolution, or something that requires a separate
> issue).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]