[jsword-devel] [JIRA] Commented: (JS-158) Appropriate default logging level for performance

Martin Denham (JIRA) jira at crosswire.org
Wed Jan 19 16:24:23 MST 2011

    [ http://www.crosswire.org/bugs/browse/JS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811#action_13811 ] 

Martin Denham commented on JS-158:

I have done the timing for INFO again and it is much lower (23 secs) so I think either INFO or WARNING would be okay.

> Appropriate default logging level for performance
> -------------------------------------------------
>                 Key: JS-158
>                 URL: http://www.crosswire.org/bugs/browse/JS-158
>             Project: JSword
>          Issue Type: Bug
>         Environment: Android
>            Reporter: Martin Denham
>            Assignee: DM Smith
> 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.
If you think it was sent incorrectly contact one of the administrators: http://www.crosswire.org/bugs/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jsword-devel mailing list