use cloudfoundry log appender , and set memory correctly