Added timestamp to error output

I would like to add a timestamp to the error output. From time to time we need to find an exception also in logs and with the timestamp it is much easier, especially when we can see the same exception more times.
Improving jherkel patch.
Merge branch 'jherkel-patch-4'