Added rest example.
Added log4j appender.