If any one know of a workaround please let me know, i would be great and saves me from buy dedicated hosting
Thank you for contacting Online Support.
Unfortunately, on a shared hosting account, the permissions are not available to write log files within the hosting account itself. We apologize for any inconveniences this may have caused.
Please let us know if we can help you in any other way.
Online Support Team
UPDATE: So i tried to see if can write a file to disk to see what happens.... will nothing happened then i got the following email.
It has come to our attention that your hosting account for dawouds.com is causing an issue with Tomcat on the server. This, in turn, affects the usage of the server by other customers as Tomcat is not restarted each night. To protect the overall health of the server, we have renamed all WEB-INF folders on your account.
Unfortunately, we are not able to troubleshoot custom scripting, and therefore, we are not able to provide specific solutions. However, the issue appears to be with the use of log4j, which is not allowed on our shared hosting accounts. Please reference the following link to our help center for more information:
Once you have identified the cause of the issue, please reply directly to this email with the steps taken to resolve the issue. If you are not able to resolve this issue, you should then consider the need to upgrade to a Dedicated Server. If you have questions about this matter, you may contact us by replying to this email or by calling 480-505-8871.
We appreciate your cooperation in this matter.
Not that http://help.godaddy.com/article/65
and using the log4j module would be considered a violation
I'll try to use JDBCAppender as per the following page to log to mySQL DB. I'll update this posting with my finding.