Separating error and success log messages