Anyway, since the log4j does not really work (for me) in 7.1 final(???) I would really appreciate when anyone may give me an example how to configure logging for an EJB application using xml configuration file inside EAR file. Actually I do not cate what is hidden behind the logger (log4j or anything else), I just want to be able to log my data and to configure loggers using XML file inside EAR.