[
https://issues.apache.org/jira/browse/JAMES-3248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17140216#comment-17140216
]
Benoit Tellier commented on JAMES-3248:
---------------------------------------
> To start, there is lots of "INFO" chatter that is not necessary.
Maybe the "Basic Server operator" just needs to be aware of warnings & error,
we can increase the logging level.
We will need to better refine the "Basic server" application and split it from
the advanced server one. Once we do it, we should be able to address all
warnings & errors related to configuration.
We "may" put to the INFO level like org.apache.james.GuiceJamesServer
I believe a couples of annoying logs you mentioned should be addressed for all
James server distributions.
> [ERROR] o.a.j.d.l.AbstractDomainList - Cannot get IP address(es) for Domain :
> localhost
We can easily fix that one with a switch of default value. I will contribute
this.
> [WARN ] o.a.j.t.m.r.d.DelaysAndMaxRetry - Delay of 8 minutes 20 seconds is
> now attempted: 1 times
This one is a badly configured default file, it should get fixed too. I will
have a look
> james_1 | java.lang.IllegalStateException: Lookup of localhost A isn't done
> <snip>
I would like to have a look at that one too. Can you detail me <snip> ?
> [WARN ] o.a.j.m.i.JamesMailetContext - The specified postmaster address (
> [email protected] ) is not a local address.
Let's remove this (stupid) default value...
> james_1 | 04:25:13.144 [WARN ] o.a.a.b.BrokerService - Memory Usage for the
> Broker (1024mb) is more than the maximum available for the JVM: 986 mb -
> resetting to 70% of maximum available: 690 mb
> james_1 | 04:25:13.537 [WARN ] o.a.a.b.BrokerService - Store limit is 102400
> mb (current store usage is 0 mb). The data directory:
> /opt/apache-james/james-server/var/store/activemq/brokers/KahaDB only has
> 49438 mb of usable space. - resetting to maximum available disk space: 49438
> mb
> james_1 | 04:25:13.539 [WARN ] o.a.a.b.BrokerService - Temporary Store limit
> is 51200 mb (current store usage is 0 mb). The data directory:
> /opt/apache-james/james-server/var/store/activemq/brokers only has 49437 mb
> of usable space. - resetting to maximum available disk space: 49437 mb
I don't know which setting we should tune to get rid of this. We maybe should
have a look.
> WARN [main] openjpa.Runtime - Could not create the optional validation
> provider. Reason returned: "A default ValidatorFactory could not be created."
:-( I'm a JPA noob, can't help for that one!
> james_1 | 04:25:21.596 [ERROR] o.a.j.m.l.AbstractStateMailetProcessor -
> Unable to init mailet ro.ieugen.sample.mailets.LogAndDoNothingMailet
> james_1 | java.lang.ClassNotFoundException:
> ro.ieugen.sample.mailets.LogAndDoNothingMailet
That one hopefully is not James server fault ^^
> 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]