I am unable to initialize log4j for loggin purpose in my java spring mvc project.
I am using embedded jetty in it. So there is a main file which starts the server.
the log4j.properties file located under : resources->properties->staging,prod->log4j.properties.
Its unable to find it .
But when i just moved it from there to directly under resources it was able to find it.
But i want to keep it under this particular directory structure.
How can i do it ?