softlab Posted February 1, 2013 Posted February 1, 2013 a. infoparb. infopar.heliohost.orgc. 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
Shinryuu Posted February 1, 2013 Posted February 1, 2013 "home/infopar/public_html/webCat/log/webCat.log" is probably what you're looking for.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now