Fixing usage of enum in logging

Change-Id: Ib5ecfbdfb0977ba1b59652606f647560139f95fd

git-svn-id: https://svn.apache.org/repos/asf/etch/trunk@1548543 13f79535-47bb-0310-9956-ffa450edef68