Add error logging into file in site's api directory