| Author |
Application cannot create log file in linux
|
Maya sekar
Ranch Hand
Joined: Sep 22, 2011
Posts: 70
|
|
In my application I want to create a log file and append log details in it. But when i deploy it, it throws a fileNotFound Exception when what should happen is a new log file must automatically be created and messages need to appended to it.
I am deploying the application in apache tomcat, in a unix system please help
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
|
Most probably you mis-spelled or mis-capitalized the directory path for the log file.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Maya sekar
Ranch Hand
Joined: Sep 22, 2011
Posts: 70
|
|
thanks for the reply but turns out tomcat didn't have permission to write in the Directory where I wanted the log file to be created.
Thanks again
|
 |
 |
|
|
subject: Application cannot create log file in linux
|
|
|