Hi Thilo,
At 12:00 07.05.2001 +0200, you wrote:
>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")
Are you sure you are compiling the right log4j version? For example, in log4j 1.1b6
the the DEBUT_INT variable in Priority.java has *public* access.
>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.
Let's solve the above problem first. Regards, Ceki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]