Fixed: Using String.replaceFirst instead of String.replaceAll in
localised logging methods