docs: long parseMaxLogSize (String maxLogSizeStr) {
  		long maxLogSize = SizeRollingFileHandler.DEFAULT_LOG_SIZE_BOUND;
  
  		if (maxLogSizeStr != null) {
  			maxLogSizeStr = maxLogSizeStr.trim ().toUpperCase ();
  			
  			if (maxLogSizeStr.endsWith ("T")) {
  				maxLogSizeStr = maxLogSizeStr.substring (0, maxLogSizeStr.length () - 1);
  				try {
  					maxLogSize = Long.parseLong (maxLogSizeStr) * 1024L * 1024L * 1024L * 1024L;
  				} catch (NumberFormatException ex) {
  					LogHelperDebug.printError ("Could not parse a long in " + maxLogSizeStr, ex, false);
  				}
  			} else if (maxLogSizeStr.endsWith ("G")) {
  				maxLogSizeStr = maxLogSizeStr.substring (0, maxLogSizeStr.length () - 1);
  				try {
  					maxLogSize = Long.parseLong (maxLogSizeStr) * 1024L * 1024L * 1024L;
  				} catch (NumberFormatException ex) {
  					LogHelperDebug.printError ("Could not parse a long in " + maxLogSizeStr, ex, false);
  				}
  			} else if (maxLogSizeStr.endsWith ("M")) {
  				maxLogSizeStr = maxLogSizeStr.substring (0, maxLogSizeStr.length () - 1);
  				try {
  					maxLogSize = Long.parseLong (maxLogSizeStr) * 1024L * 1024L;
  				} catch (NumberFormatException ex) {
  					LogHelperDebug.printError ("Could not parse a long in " + maxLogSizeStr, ex, false);
  				}
  			} else if (maxLogSizeStr.endsWith ("K")) {
  				maxLogSizeStr = maxLogSizeStr.substring (0, maxLogSizeStr.length () - 1);
  				try {
  					maxLogSize = Long.parseLong (maxLogSizeStr) * 1024L;
  				} catch (NumberFormatException ex) {
  					LogHelperDebug.printError ("Could not parse a long in " + maxLogSizeStr, ex, false);
  				}
  			} else {
  				try {
  					maxLogSize = Long.parseLong (maxLogSizeStr);
  				} catch (NumberFormatException ex) {
  					LogHelperDebug.printError ("Could not parse a long in " + maxLogSizeStr, ex, false);
  				}
  			}
  		}
  		return maxLogSize;
  	}