logger location depends on config mode