bullet_1 0 Light Poster

I am having an Html file in which there are some errors. I want all the errors to be dislayed in a log file
can anybody help me
thanks in advance