Implement more robust logging options