[jsword-devel] [JIRA] Commented: (JS-158) Appropriate default logging level for performance
Martin Denham (JIRA)
jira at crosswire.org
Fri Mar 18 11:17:55 MST 2011
[ http://www.crosswire.org/bugs/browse/JS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160#comment-14160 ]
Martin Denham commented on JS-158:
----------------------------------
I just noticed that the default logging level in log4j.properties is also a bit too fine
log4j.rootLogger=DEBUG, A1
It isn't affecting me because apparently Android must be using the jdk logger but I thought I would point it out.
> Appropriate default logging level for performance
> -------------------------------------------------
>
> Key: JS-158
> URL: http://www.crosswire.org/bugs/browse/JS-158
> Project: JSword
> Issue Type: Bug
> Components: o.c.common.util
> Affects Versions: 1.6
> Environment: Android
> Reporter: Martin Denham
> Assignee: DM Smith
> Fix For: 1.6.1
>
>
> The default logging level in jsword/src/main/resources/CWLogging.properties is:
> .level=FINEST
> Unfortunately this can cause libraries like HttpComponents to produce a lot of logging and have performance issues like slow downloads. Therefore this default logging level should be set higher and lowered explicitly for certain modules as required. Overriding logging level for each library would be laborious and error prone.
> I have experimented a little with And Bible and discovered that even INFO has a noticeable affect on download time (40 secs for esv) whereas WARNING seems to be a good default (the first level of messages you really need to look at) and also have no noticeable affect on download (<30 secs for esv). The starting point of FINEST resulted in a 4 minute download time for esv.
> So can I suggest the setting is changed to:
> .level=WARNING
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jsword-devel
mailing list