[slf4j-dev] [Bug 327] New: Not able to resolve method org.apache.log4jCategory.getParent

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Tue Feb 24 08:03:33 CET 2015


http://bugzilla.slf4j.org/show_bug.cgi?id=327

          Priority: P5
            Bug ID: 327
          Assignee: slf4j-dev at qos.ch
           Summary: Not able to resolve method
                    org.apache.log4jCategory.getParent
          Severity: enhancement
    Classification: Unclassified
                OS: Windows NT
          Reporter: him_bhar at hotmail.com
          Hardware: PC
            Status: NEW
           Version: 1.7.x
         Component: log4j-over-slf4j
           Product: SLF4J

I am using a third-party API which internally uses a custom logger based on
log4j. Replacing the log4j with log4j-over-slf4j doesn't help as one of the
method is not present in the log4j-over-slf4j.

Can't share much of the trace as data sharing policy:

Caused by: java.lang.NoSuchMethodError:
org.apache.log4j.Logger.getParent()Lorg/apache/log4j/Category;

Verified the same in codebase of log4j-over-slf4j and this method getParent()
is not present in the jar.

Whereas for log4j v 1.2.17, this is present.

  public final Category getParent()
  {
    return this.parent;
  }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20150224/308c077a/attachment.html>


More information about the slf4j-dev mailing list