This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j" Watch "Log4j" New topic


Ashwini alvekod

Joined: Jun 20, 2012
Posts: 2

I'm implementing Log4j in application.
downloaded log4j,slf4j-log4j and slf4j-api and build the path

I changed build.xml and file also.....

but, when i run my application it use to create blank .log file inside my application instead of printing error...

help me... how to implement log4j concept in struts..
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32628

Please post your log4j properties file and a sample class that uses it. (just the package name and lines of code that log; not a long Struts class)

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Log4j
jQuery in Action, 3rd edition