<title data-rh="true">Logging | Serverpod</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://serverpod.github.io/0.9.10/concepts/logging"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="0.9.10"><meta data-rh="true" name="docusaurus_tag" content="docs-default-0.9.10"><meta data-rh="true" name="docsearch:version" content="0.9.10"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-0.9.10"><meta data-rh="true" property="og:title" content="Logging | Serverpod"><meta data-rh="true" name="description" content="Serverpod uses the database for storing logs; this makes it easy to search for errors, slow queries, or debug messages. To log custom messages during the execution of a session, use the log method of the session object. When the session is closed, either from successful execution or by failing from throwing an exception, the messages are written to the log. By default, session log entries are written for every completed session."><meta data-rh="true" property="og:description" content="Serverpod uses the database for storing logs; this makes it easy to search for errors, slow queries, or debug messages. To log custom messages during the execution of a session, use the log method of the session object. When the session is closed, either from successful execution or by failing from throwing an exception, the messages are written to the log. By default, session log entries are written for every completed session."><link data-rh="true" rel="icon" href="/img/favicon.png"><link data-rh="true" rel="canonical" href="https://serverpod.github.io/0.9.10/concepts/logging"><link data-rh="true" rel="alternate" href="https://serverpod.github.io/0.9.10/concepts/logging" hreflang="en"><link data-rh="true" rel="alternate" href="https://serverpod.github.io/0.9.10/concepts/logging" hreflang="x-default"><script src="https://widget.kapa.ai/kapa-widget.bundle.js" data-website-id="9ae02024-c2cf-4f58-b2d9-7ca3961dc1ef" data-project-name="Serverpod" data-project-color="#020F24" data-project-logo="https://avatars.githubusercontent.com/u/48181558?s=200&v=4" async></script><link rel="stylesheet" href="/assets/css/styles.e1a574c5.css">
0 commit comments