trying to get error logging working but to no avail these are samples from the express site.