updating error logger to use current time set  in blog settings