I have deleted the contents of one the error-log file of one of my website in var/log/ispconfig/http/vhost/error.log and there after saved the file. after that it stopped logging errors, thinking that by saving the file I may changed the permission of the file, I deleted the file hoping that the file will be automatically created. No file was created, so I created a blank file with the appropriate permission named error.log but still it is not logging the error. What step should I take so that errors can be logged as I need to check the log file of this website frequently.
OK resolved. Deleting the file and restarting apache, recreated the file and errors are logged correctly. Thanks.