Question

Today I made a backup of all log files of my Web Application on SunOneWebServer. I moved all the existing log files in new Folder Log_Bkp. But now new log files are not being generated. In the code we have

(!createLogfile())
 throw exception

But no exception being thrown too. Not able to understand why is it happening? On my local Apache Tomcat server its working fine. If you need more information please comment.

Was it helpful?

Solution

I moved the files while the server was still running. When i try this in Apache Tomcat local server it gives an error that it is being used by some system. But on Server it did not gave any warning. But when we restarted the server new files are being created.

P.S: Whenever we move or delete any files on the server, please ensure that the server is stopped first.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top