You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Thilo Schottelius <Th...@impress.com> on 2001/05/07 12:00:32 UTC

Errors in Log4J version 1.16b?

1) when compiling the file XPriority.java which is located in the package
"org.apache.log4j.xml.examples" an error occurs:

C:\Java\jakarta-log4j-1.1b6\src\java\org\apache\log4j\xml\examples\XPriority
.java(15) : Variable DEBUG_INT in org.apache.log4j.Priority not accessible
from org.apache.log4j.xml.examples.XPriority

the error is correct, because the variable DEBUG_INT has no modifyer in
class org.apache.log4j.Priority, so the variable DEBUG_INT has "private
protected/friendly) access and can' t be accessed by another package (here
"org.apache.log4j.xml.examples")

2) the class XCategory in package "org.apache.log4j.xml.examples" refers to
a variable "hierarchy" which is not defined in this class or parent class:

C:\Java\jakarta-log4j-1.1b6\src\java\org\apache\log4j\xml\examples\XCategory
.java(107) : Undefined variable or class name: hierarchy

Maybe the variable "disable" in super class "Category" is ment. 

Dr. Thilo Schottelius
IMPRESS SOFTWARE AG
            


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