aspose file tools*
The moose likes Other Application Frameworks and the fly likes can log4j entries exist in a file that is named anything other than log4j.properties? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "can log4j entries exist in a file that is named anything other than log4j.properties?" Watch "can log4j entries exist in a file that is named anything other than log4j.properties?" New topic
Author

can log4j entries exist in a file that is named anything other than log4j.properties?

sunya kumre
Greenhorn

Joined: Oct 10, 2011
Posts: 1


This might sound silly but we're trying to explore the possibility of having log4j entries in file with a name other than log4j.properties such that it will cause minimal changes to our deployment process. Can log4j entries exist in a file that is named anything other than log4j.properties?

Have performed a small test where log4j entries were part of a file with name testlogconfig.properties on the classpath but the entries are not read. The moment we rename this file from testlogconfig.properties to log4j.properties it works.

Any help is greatly appreciated.

Thanks,
Sunil
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can log4j entries exist in a file that is named anything other than log4j.properties?
 
Similar Threads
can BasicConfigurator.configure() read log4j.properties and log output to fileAppender?
log4j use best way
configure log4j property file using commons logging
Property file prob in Log4j
Does Struts have a log? Can't figure out why ActionServlet is not initializing