Disable logging by setting logger to nil on Agent.create()