title: How do I view an exception log for Azure SQL Database?
body: <p>I would like to view all exceptions thrown in the last 72 hours in my production Azure SQL Database.  A SQL query would be ideal, but I'll settle for any method, such as navigating to a web page in the Azure Portal.</p>
  
  <p>I want the log to include any and all SQL statements (and ideally stored procedure / function calls) that threw exceptions.  Example exceptions would be integrity constraint violations, deadlocks, etc.</p>
  
  <p>Ideally, the returned columns would be the timestamp, error message and the offending statement/call.</p>
  
  <p>The only thing I've found so far is sys.event_log, but unfortunately that only contains connection and deadlock logging information, and not general exceptions.</p>
  
  <p>Thanks in advance for any help.</p>