statistics are logged when failing