Fixed bug in error-log formatting.