Jump to content

Recommended Posts

Posted

a. infopar

b. infopar.heliohost.org

c. Johnny.

 

I have deployed webCat.war. I try from my servlet to create a log file for my application

 

FileHandler nomeFile = new FileHandler("/home/infopar/webCat/log/webCat.log",true);

 

where /home/infopar is my home as of cPanel. I do not see any error about this in error logs in cPanel, but I get a NullPointerException when the servlet tries to write something in the log file. I think it has not been created, but where should I point to create one? Is path /home/infopar/webCat/ correct?

 

Thanks

Posted

"home/infopar/public_html/webCat/log/webCat.log" is probably what you're looking for.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...