element - application-ref
parentSource - server or cluster
parentResult - server or cluster
super.transform(element,parentSource,parentResult);
String rotationSuffix = element.getAttribute("rotation-suffix");
logger.log(Level.FINE, stringManager.getString("upgrade.transform.accesslog.rotationSuffix", rotationSuffix));
if(rotationSuffix.equals("%YYYY;%MM;%DD;-%hh;h%mm;m%ss;s")) {
return;
}
try {
new SimpleDateFormat(rotationSuffix);
}catch(IllegalArgumentException iae) {
logger.log(Level.WARNING, stringManager.getString("upgrade.transfrorm.incompatible.rotation-suffix.format",rotationSuffix));
}catch(NullPointerException npe) {
logger.log(Level.WARNING, stringManager.getString("upgrade.transfrorm.incompatible.rotation-suffix.format",npe.getMessage()));
}