Patches that were not executed (but considered) are not output on startup

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2198 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-01-25 12:13:32 +00:00
parent e4ca1dfb9f
commit 78052faade
7 changed files with 28 additions and 2 deletions

View File

@@ -69,7 +69,14 @@ public class PatchExecuter
// list all patches applied, including failures
for (PatchInfo patchInfo : appliedPatches)
{
if (patchInfo.getSucceeded())
if (!patchInfo.getWasExecuted())
{
// the patch was not executed
logger.debug("Applied patch (not executed): \n" +
" ID: " + patchInfo.getId() + "\n" +
" RESULT: " + patchInfo.getReport());
}
else if (patchInfo.getSucceeded())
{
logger.info("Applied patch: \n" +
" ID: " + patchInfo.getId() + "\n" +