Forgot errorLog earlier. Records errors to a text file.

Signed-off-by: dabagwel <dabagwel@cisco.com>