Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

LoggingPermission

 
Alessandro Ilardo
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I left the same request at the Tomcat forum, but with no success, probably because is not about Tomcat itself.
I'll try to check out with you if is actually a class problem or in anycase about my j2ee application instead a server permission.



Basically, I wrote a class wich on a local Tomcat 5.0 help me to log errors sent by the servlet on files.
When I tested it on the finally hosting, I got this message:


Onestly, I did not understand what the problem is, and if anyone of you has the solution I'll really appreciate. In anycase I searched the Web looking for the answer and I found this code wich propably is helpfull, but I have no idea on where and how implement it.


Can anyone help me to fix this problem?
Thanks in advance.

Alessandro
 
Emanuel Kadziela
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any reason why you can't use log4j or apache commons logging packages (or some other existing logging package)? Unless the point of your exercise is to build yet another logging package, I would strongly recommend not reinventing the wheel and using what is already out there, well-tested and proven to work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic