Make logging to various destinations optional.