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 Quote
Shinryuu Posted February 1, 2013 Posted February 1, 2013 "home/infopar/public_html/webCat/log/webCat.log" is probably what you're looking for. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.