adding access and error log