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

DM Smith (JIRA) jira at crosswire.org
Wed Feb 2 15:44:20 MST 2011


     [ http://www.crosswire.org/bugs/browse/JS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DM Smith updated JS-158:
------------------------


Will change it to warning.

> Appropriate default logging level for performance
> -------------------------------------------------
>
>                 Key: JS-158
>                 URL: http://www.crosswire.org/bugs/browse/JS-158
>             Project: JSword
>          Issue Type: Bug
>    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