Maintenance: use logger to prevent polluting console when test