docs: protected static String insertPattern(final String logFileName, final String rollPattern) {   
      int index = logFileName.lastIndexOf('.');
      if(index==-1) return logFileName + rollPattern;
      return logFileName.substring(0, index) + rollPattern + logFileName.substring(index); 
    }