fixed issue with empty log file of apache