Log to a (configurable) file