Using Runtime Logs and Terminal Access in Servbase
Enable app logs to see what your Python, Node.js or PHP app prints and the errors it logs, and use the terminal to run commands.
These tools are available only for supported runtime apps and are intentionally constrained.
Restart
Restart is currently supported for runtime apps where the platform can safely restart the managed service.For Python apps, restart requires:
the latest deployment status is success
the runtime has been provisioned correctly
Node.js / Express.js and Next.js SSR runtime flows also participate in managed runtime restart behavior when the platform has provisioned a healthy runtime service.
App logs
The App Logs tab shows what happens inside your running app. Turn it on in the app’s Settings tab, under App logs.
App type
What App Logs shows
Python, Node.js, Express.js, Next.js (SSR)
Everything your app prints to stdout and stderr, live: startup messages, request logs from your framework, errors and stack traces
PHP
PHP errors, warnings and notices from your app, and anything it writes with error_log()
Static HTML, React and static Next.js
Not available: there is no app process. Use Build Logs for build output
Refresh loads the newest lines, up to 2,000.
Clear hides the lines shown so far; new output appears as it is written. For PHP apps it empties the error log.
The PHP error log is kept small and rotated daily, and only your app can write to it.
If app logs are turned off, the API rejects the request instead of returning an empty log.
Terminal access
Current terminal behavior:
terminal is available for Python and PHP apps
terminal requires a successful deployment first
commands can be executed directly or through the terminal websocket
Current API constraints:
command is required
timeout is limited
working directory is constrained by the runtime context
Terminal access is an operational convenience, not a substitute for deployment configuration. If your change should persist across rebuilds, save it in source or in app settings instead.
Gunicorn tuning
For Flask and Django apps that run with Gunicorn, current settings support:
gunicorn_workers
gunicorn_worker_class_enabled
gunicorn_worker_class
Plan-aware worker limits are enforced at the API layer, so invalid forged values are rejected.
Common reasons these tools are unavailable
the app is not Python
no successful deployment exists yet
runtime logs are disabled
the app is paused due to overdue billing
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Servbase","description":"Servbase Documentation","colors":{"primary":"#2eabd2","light":"#9cdbf7","dark":"#2eabd2"},"logo":{"light":"https://mintcdn.com/srvbs-docs-445982dd/IdpYM4VT-nTUi0Vz/images/Servbase-Banner.png?fit=max\u0026auto=format\u0026n=IdpYM4VT-nTUi0Vz\u0026q=85\u0026s=9ff02258c886d143c32313cafabe09a9","dark":"https://mintcdn.com/srvbs-docs-445982dd/IdpYM4VT-nTUi0Vz/images/Servbase-Banner.png?fit=max\u0026auto=format\u0026n=IdpYM4VT-nTUi0Vz\u0026q=85\u0026s=9ff02258c886d143c32313cafabe09a9"},"favicon":{"light":"https://icons.duckduckgo.com/ip3/docs.servbase.net.ico","dark":"https://mintcdn.com/srvbs-docs-445982dd/32T7Jfhpbvhx19Ma/images/servbase-x.png?fit=max\u0026auto=format\u0026n=32T7Jfhpbvhx19Ma\u0026q=85\u0026s=18de6149c8ab1e5769015c496396eeef"},"navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://servbase.net"}},"styling":{"eyebrows":"section","latex":false},"contextual":{"options":["copy","chatgpt"],"display":"header"},"thumbnails":{"background":"https://mintcdn.com/srvbs-docs-445982dd/ZtLGKwlWBeikKVsS/images/Servbase-x-v2.png?fit=max\u0026auto=format\u0026n=ZtLGKwlWBeikKVsS\u0026q=85\u0026s=03e09746f765e2a10caef4eca2fae304"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"srvbs-docs-445982dd","hasAudioNarration":false,"actualSubdomain":"srvbs-docs-445982dd","customDomains":["docs.servbase.net"],"gitSource":{"type":"github","owner":"servbase-net","repo":"docs-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b07d903a8963623700eae8c","clientVersion":"0.0.4352","searchFilterCounts":[{"language":"default","tag":"Documentation","count":33},{"language":"default","tag":"API reference","count":8},{"language":"default","tag":"Deployment","count":7},{"language":"default","tag":"Reference","count":7},{"language":"default","tag":"Databases","count":6},{"language":"default","tag":"Operations","count":6},{"language":"default","tag":"Endpoints","count":4},{"language":"default","tag":"Core Concepts","count":4},{"language":"default","tag":"Getting started","count":3},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"operations/runtime-logs-and-terminal","slug":"/operations/runtime-logs-and-terminal","pageMetadata":{"title":"Using Runtime Logs and Terminal Access in Servbase","sidebarTitle":"Logs \u0026 Terminal","description":"Enable app logs to see what your Python, Node.js or PHP app prints and the errors it logs, and use the terminal to run commands.","href":"/operations/runtime-logs-and-terminal"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Enable app logs to see what your Python, Node.js or PHP app prints and the errors it logs, and use the terminal to run commands.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`These tools are available only for supported runtime apps and are intentionally constrained.`}),`\n`,_jsx(Heading,{level:`2`,id:`restart`,children:`Restart`}),`\n`,_jsx(_components.p,{children:`Restart is currently supported for runtime apps where the platform can safely restart the managed service.`}),`\n`,_jsx(_components.p,{children:`For Python apps, restart requires:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`the latest deployment status is `,_jsx(_components.code,{children:`success`})]}),`\n`,_jsx(_components.li,{children:`the runtime has been provisioned correctly`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Node.js / Express.js and Next.js SSR runtime flows also participate in managed runtime restart behavior when the platform has provisioned a healthy runtime service.`}),`\n`,_jsx(Heading,{level:`2`,id:`app-logs`,children:`App logs`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`App Logs`}),` tab shows what happens inside your running app. Turn it on in the app’s `,_jsx(_components.strong,{children:`Settings`}),` tab, under `,_jsx(_components.strong,{children:`App logs`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`App type`}),_jsx(_components.th,{children:`What App Logs shows`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Python, Node.js, Express.js, Next.js (SSR)`}),_jsx(_components.td,{children:`Everything your app prints to stdout and stderr, live: startup messages, request logs from your framework, errors and stack traces`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`PHP`}),_jsxs(_components.td,{children:[`PHP errors, warnings and notices from your app, and anything it writes with `,_jsx(_components.code,{children:`error_log()`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Static HTML, React and static Next.js`}),_jsxs(_components.td,{children:[`Not available: there is no app process. Use `,_jsx(_components.strong,{children:`Build Logs`}),` for build output`]})]})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Refresh`}),` loads the newest lines, up to 2,000.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Clear`}),` hides the lines shown so far; new output appears as it is written. For PHP apps it empties the error log.`]}),`\n`,_jsx(_components.li,{children:`The PHP error log is kept small and rotated daily, and only your app can write to it.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`If app logs are turned off, the API rejects the request instead of returning an empty log.`}),`\n`,_jsx(Heading,{level:`2`,id:`terminal-access`,children:`Terminal access`}),`\n`,_jsx(_components.p,{children:`Current terminal behavior:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`terminal is available for `,_jsx(_components.strong,{children:`Python`}),` and `,_jsx(_components.strong,{children:`PHP`}),` apps`]}),`\n`,_jsx(_components.li,{children:`terminal requires a successful deployment first`}),`\n`,_jsx(_components.li,{children:`commands can be executed directly or through the terminal websocket`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Current API constraints:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`command is required`}),`\n`,_jsx(_components.li,{children:`timeout is limited`}),`\n`,_jsx(_components.li,{children:`working directory is constrained by the runtime context`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Terminal access is an operational convenience, not a substitute for deployment configuration. If your change should persist across rebuilds, save it in source or in app settings instead.`})}),`\n`,_jsx(Heading,{level:`2`,id:`gunicorn-tuning`,children:`Gunicorn tuning`}),`\n`,_jsx(_components.p,{children:`For Flask and Django apps that run with Gunicorn, current settings support:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`gunicorn_workers`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`gunicorn_worker_class_enabled`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`gunicorn_worker_class`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Plan-aware worker limits are enforced at the API layer, so invalid forged values are rejected.`}),`\n`,_jsx(Heading,{level:`2`,id:`common-reasons-these-tools-are-unavailable`,children:`Common reasons these tools are unavailable`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`the app is not Python`}),`\n`,_jsx(_components.li,{children:`no successful deployment exists yet`}),`\n`,_jsx(_components.li,{children:`runtime logs are disabled`}),`\n`,_jsx(_components.li,{children:`the app is paused due to overdue billing`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Using Runtime Logs and Terminal Access in Servbase","sidebarTitle":"Logs \u0026 Terminal","description":"Enable app logs to see what your Python, Node.js or PHP app prints and the errors it logs, and use the terminal to run commands.","href":"/operations/runtime-logs-and-terminal"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Restart","slug":"restart","depth":2,"children":[]},{"title":"App logs","slug":"app-logs","depth":2,"children":[]},{"title":"Terminal access","slug":"terminal-access","depth":2,"children":[]},{"title":"Gunicorn tuning","slug":"gunicorn-tuning","depth":2,"children":[]},{"title":"Common reasons these tools are unavailable","slug":"common-reasons-these-tools-are-unavailable","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"srvbs-docs-445982dd","siteName":"Servbase","title":"Using Runtime Logs and Terminal Access in Servbase - Servbase","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-26T00:41:54.807Z","originalFileLocation":"operations/runtime-logs-and-terminal.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Enable app logs to see what your Python, Node.js or PHP app prints and the errors it logs, and use the terminal to run commands.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Servbase\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Using Runtime Logs and Terminal Access in Servbase - Servbase\">\u003cmeta data-mint-head property=\"og:description\" content=\"Enable app logs to see what your Python, Node.js or PHP app prints and the errors it logs, and use the terminal to run commands.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Servbase\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.servbase.net/operations/runtime-logs-and-terminal\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://srvbs-docs-445982dd.mintlify.site/_mintlify/api/og/v2?division=Operations\u0026amp;title=Using+Runtime+Logs+and+Terminal+Access+in+Servbase\u0026amp;description=Enable+app+logs+to+see+what+your+Python%2C+Node.js+or+PHP+app+prints+and+the+errors+it+logs%2C+and+use+the+terminal+to+run+commands.\u0026amp;theme=a9bccfbe1f8ceac4dcba85ed\u0026amp;signature=5852ae29f119ac9d1dd13a3782d67c606f07994b337179801029de4c3557c4ea\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Using Runtime Logs and Terminal Access in Servbase - Servbase\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Enable app logs to see what your Python, Node.js or PHP app prints and the errors it logs, and use the terminal to run commands.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://srvbs-docs-445982dd.mintlify.site/_mintlify/api/og/v2?division=Operations\u0026amp;title=Using+Runtime+Logs+and+Terminal+Access+in+Servbase\u0026amp;description=Enable+app+logs+to+see+what+your+Python%2C+Node.js+or+PHP+app+prints+and+the+errors+it+logs%2C+and+use+the+terminal+to+run+commands.\u0026amp;theme=a9bccfbe1f8ceac4dcba85ed\u0026amp;signature=5852ae29f119ac9d1dd13a3782d67c606f07994b337179801029de4c3557c4ea\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/srvbs-docs-445982dd/s1NIG87tFOEMXCy3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Servbase\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2eabd2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.servbase.net/operations/runtime-logs-and-terminal\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/operations/runtime-logs-and-terminal.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.servbase.net/#organization\",\"name\":\"Servbase\",\"url\":\"https://docs.servbase.net\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/srvbs-docs-445982dd/IdpYM4VT-nTUi0Vz/images/Servbase-Banner.png?fit=max\u0026auto=format\u0026n=IdpYM4VT-nTUi0Vz\u0026q=85\u0026s=9ff02258c886d143c32313cafabe09a9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.servbase.net#website\",\"name\":\"Servbase\",\"url\":\"https://docs.servbase.net\",\"publisher\":{\"@id\":\"https://docs.servbase.net/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.servbase.net/operations/runtime-logs-and-terminal#webpage\",\"url\":\"https://docs.servbase.net/operations/runtime-logs-and-terminal\",\"name\":\"Using Runtime Logs and Terminal Access in Servbase\",\"description\":\"Enable app logs to see what your Python, Node.js or PHP app prints and the errors it logs, and use the terminal to run commands.\",\"dateModified\":\"2026-11-26T00:41:54.807Z\",\"isPartOf\":{\"@id\":\"https://docs.servbase.net#website\"},\"breadcrumb\":{\"@id\":\"https://docs.servbase.net/operations/runtime-logs-and-terminal#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.servbase.net/operations/runtime-logs-and-terminal#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Operations\",\"item\":\"https://docs.servbase.net/operations/custom-domains\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using Runtime Logs and Terminal Access in Servbase\",\"item\":\"https://docs.servbase.net/operations/runtime-logs-and-terminal\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.servbase.net/operations/runtime-logs-and-terminal#article\",\"headline\":\"Using Runtime Logs and Terminal Access in Servbase\",\"name\":\"Using Runtime Logs and Terminal Access in Servbase\",\"description\":\"Enable app logs to see what your Python, Node.js or PHP app prints and the errors it logs, and use the terminal to run commands.\",\"url\":\"https://docs.servbase.net/operations/runtime-logs-and-terminal\",\"mainEntityOfPage\":{\"@id\":\"https://docs.servbase.net/operations/runtime-logs-and-terminal#webpage\"},\"dateModified\":\"2026-11-26T00:41:54.807Z\",\"publisher\":{\"@id\":\"https://docs.servbase.net/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.servbase.net#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Servbase\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Servbase\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/operations/runtime-logs-and-terminal.md","siteName":"Servbase","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","icon":"rocket","pages":[{"title":"Getting Started with Servbase: Account to Deployment","sidebarTitle":"Introduction","href":"/getting-started/introduction"},{"title":"Deploy Your First Application with Servbase: Quickstart","sidebarTitle":"Quickstart","href":"/getting-started/quickstart"},{"title":"Create Your First Servbase Application: Step-by-Step Guide","sidebarTitle":"First Application","href":"/getting-started/your-first-application"}]},{"group":"Core Concepts","icon":"shapes","pages":[{"title":"Servbase Core Concepts: Apps, Plans, and Deployments","sidebarTitle":"Overview","href":"/core-concepts/overview"},{"title":"Understanding App Types and Deployment Actions in Servbase","sidebarTitle":"App Types","href":"/core-concepts/app-types-and-deployment-actions"},{"title":"Servbase Credits, App Tiers, and Add-ons","sidebarTitle":"Credits \u0026 Tiers","href":"/core-concepts/plans-and-billing"},{"title":"Servbase Workspaces, Members, and Roles","sidebarTitle":"Workspaces \u0026 Members","href":"/core-concepts/access-and-members"}]},{"group":"Deployment","icon":"cloud-arrow-up","pages":[{"title":"Deploy Static HTML Sites to Servbase Cloud Hosting","sidebarTitle":"Static / HTML","href":"/deployment/deploy-static-html"},{"title":"How to Deploy a PHP, Laravel, or CodeIgniter App on Servbase","sidebarTitle":"PHP","href":"/deployment/deploy-php"},{"title":"Deploy a Python App to Servbase (Flask, Django, FastAPI)","sidebarTitle":"Python","href":"/deployment/deploy-python"},{"title":"Deploying React and Vite Frontend Apps on Servbase","sidebarTitle":"React","href":"/deployment/deploy-react"},{"title":"How to Deploy a Node.js or Express.js App to Servbase","sidebarTitle":"Node.js","href":"/deployment/deploy-nodejs-express"},{"title":"Deploy Next.js Apps to Servbase in SSR, CSR, or SSG","sidebarTitle":"Next.js","href":"/deployment/deploy-nextjs"},{"title":"Build Settings, Package Managers, and Automatic Deploys","sidebarTitle":"Build settings \u0026 CI/CD","href":"/deployment/build-settings"}]},{"group":"Databases","icon":"database","pages":[{"title":"Databases Overview: MySQL, PostgreSQL and Redis on Servbase","sidebarTitle":"Overview","href":"/databases/overview"},{"title":"Create and Manage Database Users on Servbase Hosting","sidebarTitle":"Database Users","href":"/databases/sql-accounts"},{"title":"Create a Database Under an SQL Account in Servbase","sidebarTitle":"Creating Databases","href":"/databases/creating-databases"},{"title":"MySQL and PostgreSQL: Supported Engines on Servbase","sidebarTitle":"MySQL \u0026 PostgreSQL","href":"/databases/mysql-and-postgresql"},{"title":"Redis for Caching, Sessions and Queues on Servbase","sidebarTitle":"Redis","href":"/databases/redis"},{"title":"phpMyAdmin and DBZoo: Browser Database Tools on Servbase","sidebarTitle":"DB Tools","href":"/databases/phpmyadmin-and-dbzoo"}]},{"group":"Operations","icon":"gear","pages":[{"title":"Connect a Custom Domain to Your Servbase Application","sidebarTitle":"Custom Domains","description":"Add and verify a custom domain in Servbase by publishing CNAME and TXT DNS records at your provider, then activating the domain through the dashboard.","href":"/operations/custom-domains"},{"title":"Using Runtime Logs and Terminal Access in Servbase","sidebarTitle":"Logs \u0026 Terminal","href":"/operations/runtime-logs-and-terminal"},{"title":"Cron Jobs: Run Commands on a Schedule","sidebarTitle":"Cron jobs","description":"Schedule commands for your PHP, Python or Node.js app, such as a framework's scheduler or a cleanup script. Jobs run as your app's own user in its sandbox.","href":"/operations/cron-jobs"},{"title":"Servbase Billing: Top-ups, Renewals, and Unpaid Periods","sidebarTitle":"Billing","href":"/operations/billing-and-renewals"},{"title":"Servbase Object Storage (Beta)","sidebarTitle":"Object storage","href":"/operations/object-storage"},{"title":"How to Get Support and Troubleshoot Issues on Servbase","sidebarTitle":"Support","href":"/operations/support-and-troubleshooting"}]},{"group":"Reference","icon":"book-open","pages":[{"title":"Servbase Application Settings: Build and Config Reference","sidebarTitle":"App Settings","href":"/reference/application-settings"},{"title":"Servbase Account, Security, Sessions, and Notifications","sidebarTitle":"Account \u0026 Security","href":"/reference/account-and-security"},{"title":"Servbase Error Codes: SVA and SVN Complete Reference","sidebarTitle":"Error Codes","href":"/reference/error-codes"},{"title":"Policies, Privacy, and AI Processing","sidebarTitle":"Policies and privacy","href":"/reference/policies-and-privacy"},{"title":"Servbase FAQ: Answers to the Most Common Questions","sidebarTitle":"FAQ","href":"/reference/faq"},{"title":"Servbase Glossary: Definitions of Core Platform Terms","sidebarTitle":"Glossary","href":"/reference/glossary"},{"title":"Changelog","sidebarTitle":"Changelog","href":"/reference/changelog"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api/introduction"}]}]},"basePath":"","title":"Using Runtime Logs and Terminal Access in Servbase - Servbase","deploymentId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","buildId":"dpl_5nNsUVHqbVdUHouroPPzwztSbjmH","dynamics":[],"chunks":[]}