commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (IMAGING-154) Remove Debug class
Date Thu, 16 Aug 2018 10:38:00 GMT


ASF GitHub Bot commented on IMAGING-154:

Github user kinow commented on a diff in the pull request:
    --- Diff: src/main/java/org/apache/commons/imaging/formats/bmp/ ---
    @@ -327,7 +331,7 @@ private BmpImageContents readImageContents(final InputStream is,
             switch (bhi.compression) {
             case BI_RGB:
                 if (verbose) {
    --- End diff --
    And on
    >(wonder if we should use FINEST for debug, and FINE for the verbose messages...)
    If you have the chance to run the tests, you will notice the huge amount of verbose messages
being printed now. I believe some users could be inundated with log lines (as the INFO is
enabled by default? and verbose was disabled by default)

> Remove Debug class
> ------------------
>                 Key: IMAGING-154
>                 URL:
>             Project: Commons Imaging
>          Issue Type: Task
>    Affects Versions: Patch Needed
>            Reporter: Benedikt Ritter
>            Assignee: Bruno P. Kinoshita
>            Priority: Major
>             Fix For: 1.0
> Low level libraries should not do logging, but communicate through the use of exceptions
and meaningful return values. Remove the Debug class and  all it's uses.

This message was sent by Atlassian JIRA

View raw message