SP-631: Reformat per code-style
SP-631: Don't close log appenders if we are running in embedded mode.
Merge pull request #329 from pentaho-skarmali/SP-631_PDI-9812_log4j_error_with_ktr_datasource_4.4

[SP-341] log4j: ERROR Attempting to append to closed appender PENTAHOFILE when using PRPT that contains a KTR as datasource