log4j log file in user home directory
问题 I am working on an application that will run on OSX and windows. I want the logs to be written to the users home directory. For OSX it will be under the /Users//Library/Application Support/MyApp/log directory, and under windows depending on the version under /Users//AppData/MyApp/log directory. What is the best way I can do this? I have looked around for solutions for this, but nothing helpful or a solution I am comfortable using has come up. Look forward to your inputs. edit: Since the