[SP-631] Don't close console and file log4j appenders prematurely if we are running embedded
Merge pull request #324 from pentaho-skarmali/5.0

log4j: ERROR Attempting to append to closed appender PENTAHOFILE when using PRPT that contains a KTR as datasource