keep log object open even when $self is already dead