I am having a problem while using 'log4j'.
Problem is, its properties file cannot be read unless it is named 'log4j.properties' but all I need is to name it as 'myproject.properties'.
I am having a problem while using 'log4j'.
Problem is, its properties file cannot be read unless it is named 'log4j.properties' but all I need is to name it as 'myproject.properties'.
this post (How to use custom file instead of log4j.properties) should solve your problem. basically, you pass a log4j.config system property.