NXP-12860: add optional file appender in log4j configuration for automation trace