Currently jforum logging is configured to print limited number of stack trace lines to log (about 50).
Because of this I get "real" error as the last two lines in log:
.... amny other lines
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
at net.jforum.view.forum.PostAction.insertSave(PostAction.java:1004)
... 26 more
The last line is what I need.
I want to increase the number of lines in log to at least 100
to have more useful messages available.
Yes, I here it was clear in this specific case where the error was.
But for other possible errors a trace with previous calls may be very useful.
To know only the last call from trace may be not enough.
This is why I wanted to increase the max number of lines in trace.