adding logging to fcgi script