Updated RewriteHandler and tests using BeanConfigTest.

Change-Id: I8e8e2756ccfe4e995b3dcaffd3eb2852ecc88353
diff --git a/full/src/main/resources/log4j2.properties b/full/src/main/resources/log4j2.properties
index 1acd50c..c4762c2 100644
--- a/full/src/main/resources/log4j2.properties
+++ b/full/src/main/resources/log4j2.properties
@@ -11,6 +11,6 @@
 appender.mainFile.layout.pattern= %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n
 
 rootLogger.level = warn
-rootLogger.appenderRefs = mainFile
+rootLogger.appenderRefs = console,mainFile
 rootLogger.appenderRef.file.ref = MAINLOG
-rootLogger.additivity=false
\ No newline at end of file
+rootLogger.additivity=true
\ No newline at end of file