hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jingkei Ly (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-2851) Bogus logging messages in Configration object constructors
Date Tue, 19 Feb 2008 16:34:43 GMT
Bogus logging messages in Configration object constructors

                 Key: HADOOP-2851
                 URL: https://issues.apache.org/jira/browse/HADOOP-2851
             Project: Hadoop Core
          Issue Type: Bug
          Components: conf
    Affects Versions: 0.16.0
            Reporter: Jingkei Ly
            Priority: Trivial

The constructors for the Configuration object contains a superfluous logging message that
logs an IOException whenever logging is enabled for the debug level. Basically both constructors
have the statement:

if (LOG.isDebugEnabled()) {
      LOG.debug(StringUtils.stringifyException(new IOException("config()")));

I can' t see any reason for it to be there and it just ends up leaving bogus IOExceptions
in log files. It looks like its an old debug print statement which has accidentally been left

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message