You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2020/11/24 10:29:00 UTC

[jira] [Updated] (SIS-504) Simplify the logging levels defined in PerformanceLevel

     [ https://issues.apache.org/jira/browse/SIS-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Desruisseaux updated SIS-504:
------------------------------------
    Description: 
{{org.apache.sis.util.logging.PerformanceLevel}} defines some levels for potentially lengthy data processing such as loading data. The current levels are listed below. Two of them are problematic:

 * {color:red}{{PERFORMANCE}}{color}: this name does not said what we mean here (any potentially lengthy task).
 * {{SLOW}}: ok
 * {{SLOWER}}: ok
 * {color:red}{{SLOWEST}}{color}: suggests that nothing can be slower, which is not true.

I suggest to remove completely the {{SLOWEST}} level. A need for 3 slow levels has not been demonstrated anyway, so we would reduce to 2.

The {{PERFORMANCE}} level could be renamed {{PROCESS}} or {{TASK}}. We are looking for a word meaning "potentially lengthy task". Alternatively we can just remove it and use {{Level#FINE}} instead.


  was:
{{org.apache.sis.util.logging.PerformanceLevel}} defines some levels for potentially lengthy data processing such as loading data. The current levels are listed below. Two of them are problematic:

* {color:red}{{PERFORMANCE}}{color}: this name does not said what we mean here (any potentially lengthy task).
* {{SLOW}}: ok
* {{SLOWER}}: ok
* {color:red}{{SLOWEST}}{color}: suggests that nothing can be slower, which is not true.

I suggest to remove completely the {{SLOWEST}} level. A need for 3 slow levels has not been demonstrated anyway, so we would reduce to 2.

The {{PERFORMANCE}} level could be renamed {{PROCESS}} or {{TASK}}. We are looking for a word meaning "potentially lengthy task".



> Simplify the logging levels defined in PerformanceLevel
> -------------------------------------------------------
>
>                 Key: SIS-504
>                 URL: https://issues.apache.org/jira/browse/SIS-504
>             Project: Spatial Information Systems
>          Issue Type: New Feature
>          Components: Utilities
>    Affects Versions: 1.0
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Minor
>             Fix For: 1.1
>
>
> {{org.apache.sis.util.logging.PerformanceLevel}} defines some levels for potentially lengthy data processing such as loading data. The current levels are listed below. Two of them are problematic:
>  * {color:red}{{PERFORMANCE}}{color}: this name does not said what we mean here (any potentially lengthy task).
>  * {{SLOW}}: ok
>  * {{SLOWER}}: ok
>  * {color:red}{{SLOWEST}}{color}: suggests that nothing can be slower, which is not true.
> I suggest to remove completely the {{SLOWEST}} level. A need for 3 slow levels has not been demonstrated anyway, so we would reduce to 2.
> The {{PERFORMANCE}} level could be renamed {{PROCESS}} or {{TASK}}. We are looking for a word meaning "potentially lengthy task". Alternatively we can just remove it and use {{Level#FINE}} instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)