Specifying log4j2 config in jvm args seems to be more portable.