You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2014/01/29 12:56:05 UTC

[Bug 56086] New: Exceptions not thrown, simply printed to stack trace

https://issues.apache.org/bugzilla/show_bug.cgi?id=56086

            Bug ID: 56086
           Summary: Exceptions not thrown, simply printed to stack trace
           Product: Log4j
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
          Assignee: log4j-dev@logging.apache.org
          Reporter: leonardo.ravani@ergon.ch

As i wanted to start a TelnetAppender with a Port that is already in use, to
handle the Error and inform the User that he should choose an other Port, you
simply:

catch(IOException e) {
   e.printStackTrace();
}

*(TelnetAppender line 76-87)*

And i cannot use the Error anymore. I don't know if this was intended but it
sure is useless in this form. (Not only the TelnetAppender)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org