IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply 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
 
IntelliJ Java IDE
 
subject: can log4j entries exist in a file that is named anything other than log4j.properties?
 
Threads others viewed
Does Struts have a log? Can't figure out why ActionServlet is not initializing
can BasicConfigurator.configure() read log4j.properties and log output to fileAppender?
configure log4j property file using commons logging
Property file prob in Log4j
log4j use best way
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture