configurable log destination (dirty but must work)