logger with cause of error. serial to generate clients