I am using log4j in Eclipse for logging messages in a java desktop application. I want that the log should be created in a specific folder (Specifically, in the folder which
It is not good to create log in a project folder since it gets bigger and bigger in size. Rather you can create it in user directory from which your application is running.
Eg: should be ${user.home}/appName/MyWEB.log , user generally has right to write in home dir
works for both windows and linux environment.