[{"data":1,"prerenderedAt":721},["ShallowReactive",2],{"docs-pages-en":3,"doc-en-recipe-request-logs":339},[4,9,15,20,25,30,35,41,52,60,69,77,84,92,96,105,109,117,122,127,132,138,143,148,153,158,163,168,174,179,184,189,194,200,205,210,215,220,225,230,235,240,245,250,255,260,265,270,275,280,285,291,296,300,304,309,314,319,324,329,334],{"path":5,"title":6,"description":7,"order":8,"group":8,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fpermissions","Who can do what","[object Object]",null,{"path":10,"title":11,"description":12,"order":13,"group":14,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Finstallation","Installation","Install CloseYourIt on your own server with one command.",1,"start",{"path":16,"title":17,"description":18,"order":19,"group":14,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fsettings","Settings","Every setting in the .env file, what it does and which ones you must never change.",2,{"path":21,"title":22,"description":23,"order":24,"group":14,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fdatabase","Database","What the database is, what is inside, how long data stays and how much room it takes.",3,{"path":26,"title":27,"description":28,"order":29,"group":14,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fupdates-and-backups","Updates and backups","Update to a new version, back up and restore the database, check the install.",4,{"path":31,"title":32,"description":33,"order":34,"group":14,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Ftroubleshooting","Troubleshooting","What to check when the install, the certificate, email or incoming data do not work.",5,{"path":36,"title":37,"description":38,"order":39,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fconnect-your-apps","Connect your apps","Every tool that sends data to CloseYourIt, and what each one collects.",6,"connect",{"path":42,"title":43,"description":44,"order":45,"group":8,"parent":46,"package":47,"note":48,"collects":49,"status":8},"\u002Fdocs\u002Fsdk-ruby","Ruby \u002F Rails","The closeyourit-ruby gem sends errors, logs, slow queries and job metrics from a Rails app.",7,"connect-your-apps","closeyourit-ruby","Errors, logs, slow queries and methods, background jobs.",{"errors":50,"logs":50,"performance":50,"visits":51,"servers":51},"full","none",{"path":53,"title":54,"description":55,"order":56,"group":8,"parent":46,"package":57,"note":58,"collects":59,"status":8},"\u002Fdocs\u002Fsdk-javascript","JavaScript","The @bussolabs\u002Fcloseyourit-js package works in the browser and on Node 20.16 or newer.",8,"@bussolabs\u002Fcloseyourit-js","Browser and Node, framework adapters and database queries from 0.13.0.",{"errors":50,"logs":50,"performance":50,"visits":50,"servers":51},{"path":61,"title":62,"description":63,"order":64,"group":8,"parent":46,"package":65,"note":66,"collects":67,"status":8},"\u002Fdocs\u002Fsdk-dart","Dart \u002F Flutter","The closeyourit package captures the errors of Flutter apps, even when the phone is offline.",9,"closeyourit","Public errors, logs and metrics from 0.9.3.",{"errors":50,"logs":68,"performance":68,"visits":51,"servers":51},"partial",{"path":70,"title":71,"description":72,"order":73,"group":8,"parent":46,"package":65,"note":74,"collects":75,"status":76},"\u002Fdocs\u002Fsdk-python","Python","The closeyourit package sends errors, logs and metrics from server-side Python applications.",10,"Server side. SQLAlchemy; Django query monitoring and FastAPI\u002FStarlette from 0.4.0.",{"errors":50,"logs":50,"performance":68,"visits":51,"servers":51},"pre_alpha",{"path":78,"title":79,"description":80,"order":81,"group":8,"parent":46,"package":79,"note":82,"collects":83,"status":8},"\u002Fdocs\u002Fsdk-sentry","Sentry SDK","Send errors with a compatible Sentry SDK; sessions and crashes have separate profiles.",11,"Compatible errors; sessions and crashes require a verified profile.",{"errors":50,"logs":51,"performance":51,"visits":51,"servers":51},{"path":85,"title":86,"description":87,"order":88,"group":8,"parent":46,"package":89,"note":90,"collects":91,"status":8},"\u002Fdocs\u002Fagent-server","Server agent","A small program on the server that sends the state of the machine every 60 seconds.",12,"closeyourit-agent","CPU, memory, disks, network, containers and services.",{"errors":51,"logs":68,"performance":51,"visits":51,"servers":50},{"path":93,"title":94,"description":95,"order":88,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fnuxt","Vue and Nuxt","Connect Nuxt browser errors and Nitro server errors without exposing a server token.",{"path":97,"title":98,"description":99,"order":100,"group":8,"parent":46,"package":101,"note":102,"collects":103,"status":104},"\u002Fdocs\u002Fagent-kubernetes","Kubernetes","A read-only observer of the cluster: one copy per cluster.",13,"closeyourit-kube","Machines, apps and error events of the cluster.",{"errors":51,"logs":51,"performance":51,"visits":51,"servers":50},"coming",{"path":106,"title":107,"description":108,"order":100,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fopentelemetry","OpenTelemetry","Send server traces, metrics and logs through the optional OTLP receiver.",{"path":110,"title":111,"description":112,"order":113,"group":8,"parent":46,"package":114,"note":115,"collects":116,"status":8},"\u002Fdocs\u002Fcli","cyi CLI","The closeyourit command, cyi for short: manage projects, errors and tickets from the terminal.",14,"@bussolabs\u002Fcloseyourit-cli","It collects no data: it drives CloseYourIt from the terminal.",{"errors":51,"logs":51,"performance":51,"visits":51,"servers":51},{"path":118,"title":119,"description":120,"order":121,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fhttp-api","HTTP API","Send errors, logs, metrics and page views with plain HTTP requests, without an SDK.",15,{"path":123,"title":124,"description":125,"order":126,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fgithub-app","GitHub","Connect GitHub repositories to tickets and releases with your own GitHub App.",16,{"path":128,"title":129,"description":130,"order":131,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fingest-gateway","Ingest gateway","Keep incoming errors, logs and metrics safe when the app is slow or restarting.",17,{"path":133,"title":134,"description":135,"order":136,"group":137,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fai","AI","Turn on assistant, analysis, dictation and smart search with a CloseYourIt AI key or your own provider.",18,"automation",{"path":139,"title":140,"description":141,"order":142,"group":137,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fautomator","Automator","Let tickets be worked automatically on your own Linux machine, with Claude Code, Codex or both.",19,{"path":144,"title":145,"description":146,"order":147,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fstack-coverage","Frameworks and stack coverage","Choose a published SDK or understand the limits of a locally tested integration.",20,{"path":149,"title":150,"description":151,"order":152,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fmonitoring","Traces, measurements and sessions","Explore the new signals, compare releases and recover original error locations.",21,{"path":154,"title":155,"description":156,"order":157,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fnode-database","Node databases","Monitor slow and repeated queries with pg, mysql2, Drizzle and Prisma PostgreSQL.",22,{"path":159,"title":160,"description":161,"order":162,"group":137,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fclaude-code","Claude Code","CloseYourIt inside Claude Code, in a column next to the conversation with production and your open tickets.",23,{"path":164,"title":165,"description":166,"order":167,"group":40,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fcollected-data","Data the SDKs send","For each SDK, what it sends on its own, what only when you turn it on, and what never leaves your app.",24,{"path":169,"title":170,"description":171,"order":172,"group":173,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Frecipes","Recipes","Four guides from start to finish, each one crossing several parts of CloseYourIt.",25,"recipes",{"path":175,"title":176,"description":177,"order":178,"group":8,"parent":173,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Frecipe-payment-alert","A Telegram alert when a payment fails","Your Rails app writes the failed payment, and the message reaches you in a Telegram chat.",26,{"path":180,"title":181,"description":182,"order":183,"group":8,"parent":173,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Frecipe-error-to-agent","From an error to a ticket worked by an agent","A browser error becomes a ticket, and an agent on your machine proposes the fix for you to approve.",27,{"path":185,"title":186,"description":187,"order":188,"group":8,"parent":173,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Frecipe-status-page","Site checks with a public status page","CloseYourIt checks that your site answers, alerts you when it falls and shows the status to your customers.",28,{"path":190,"title":191,"description":192,"order":193,"group":8,"parent":173,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Frecipe-request-logs","Logs tied to the same request","The messages of your Rails app line up with the error they explain, request by request.",29,{"path":195,"title":196,"description":197,"order":198,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Ftickets","Tickets and ideas","Open and follow tickets on the board, group them into milestones, ask questions and turn voted ideas into work.",30,"use",{"path":201,"title":202,"description":203,"order":204,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Ferrors","Errors","How your apps' errors become single rows, and how to resolve, ignore, merge or turn them into tickets.",31,{"path":206,"title":207,"description":208,"order":209,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fperformance","Performance","Find slow queries and methods, read the problems detected automatically and get an alert when one appears.",32,{"path":211,"title":212,"description":213,"order":214,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Flogs","Logs","Search your apps' messages, follow a request from start to end and link a message to an error or a ticket.",33,{"path":216,"title":217,"description":218,"order":219,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fsecrets","Secrets","Passwords, keys and private files in one place, per project and environment, read by your app without a .env on disk.",34,{"path":221,"title":222,"description":223,"order":224,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fservers","Servers","The state of your machines on one page, with history and alerts when something breaks or fills up.",35,{"path":226,"title":227,"description":228,"order":229,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fuptime","Uptime","Check that your sites answer, keep count of outages and show them to customers on a status page.",36,{"path":231,"title":232,"description":233,"order":234,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fcrons","Scheduled jobs","Notice when a job that should run on its own stops running, or runs and ends badly.",37,{"path":236,"title":237,"description":238,"order":239,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Falerts","Alerts","The rules that create an alert, the notification center and where each person chooses to receive them.",38,{"path":241,"title":242,"description":243,"order":244,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fhelpdesk","Help desk","Visitors of a project's site write to the team with the \"Need help?\" button, and the request lands in the right project.",39,{"path":246,"title":247,"description":248,"order":249,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fanalytics","Site analytics","How many people visit the site, what they look at and where they come from, without cookies.",40,{"path":251,"title":252,"description":253,"order":254,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Freplays","Session replay","Record how people move through the site and watch it back like a video, even next to an error.",41,{"path":256,"title":257,"description":258,"order":259,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Freleases","Releases","The versions running in each environment, bound to GitHub tags, and the errors that come back after a fix.",42,{"path":261,"title":262,"description":263,"order":264,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fvulnerabilities","Vulnerabilities","Known security problems in your projects' libraries, and the languages that no longer get fixes.",43,{"path":266,"title":267,"description":268,"order":269,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fseo","SEO","CloseYourIt visits your sites like a search engine and tells you what keeps your pages from being found.",44,{"path":271,"title":272,"description":273,"order":274,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fknowledge","Knowledge base","Write notes, decisions and guides for your projects, find them by meaning and ask questions with sources.",45,{"path":276,"title":277,"description":278,"order":279,"group":199,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fagents","AI agents","Which tickets agents take, what they hand you, where you decide and how each machine is measured.",46,{"path":281,"title":282,"description":283,"order":284,"group":14,"parent":8,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog","Versions","Every CloseYourIt system with its latest version, and the notes of each release.",50,{"path":286,"title":287,"description":288,"order":289,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-app","App","Every stable version of App, newest first.",51,"changelog",{"path":292,"title":293,"description":294,"order":295,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-cli","Command line (cyi)","Every stable version of Command line (cyi), newest first.",52,{"path":297,"title":140,"description":298,"order":299,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-automator","Every stable version of Automator, newest first.",53,{"path":301,"title":86,"description":302,"order":303,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-agent-server","Every stable version of Server agent, newest first.",54,{"path":305,"title":306,"description":307,"order":308,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-agent-kubernetes","Kubernetes agent","Every stable version of Kubernetes agent, newest first.",55,{"path":310,"title":311,"description":312,"order":313,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-sdk-javascript","JavaScript SDK","Every stable version of JavaScript SDK, newest first.",56,{"path":315,"title":316,"description":317,"order":318,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-sdk-ruby","Ruby SDK","Every stable version of Ruby SDK, newest first.",57,{"path":320,"title":321,"description":322,"order":323,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-sdk-python","Python SDK","Every stable version of Python SDK, newest first.",58,{"path":325,"title":326,"description":327,"order":328,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-sdk-dart","Dart SDK","Every stable version of Dart SDK, newest first.",59,{"path":330,"title":331,"description":332,"order":333,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-skills","Skills for AI assistants","Every stable version of Skills for AI assistants, newest first.",60,{"path":335,"title":336,"description":337,"order":338,"group":8,"parent":290,"package":8,"note":8,"collects":8,"status":8},"\u002Fdocs\u002Fchangelog-site","Website and docs","Every stable version of Website and docs, newest first.",61,{"id":340,"title":191,"body":341,"collects":8,"description":192,"extension":716,"group":8,"meta":717,"navigation":468,"note":8,"order":193,"package":8,"parent":173,"path":190,"seo":718,"status":8,"stem":719,"__hash__":720},"docs_en\u002Fdocs\u002Frecipe-request-logs.md",{"type":342,"value":343,"toc":707},"minimark",[344,348,353,383,387,408,425,429,485,496,521,525,528,543,546,565,569,572,595,598,616,622,656,660,663,684,691,695,703],[345,346,347],"p",{},"When something breaks, the error alone tells you where. The logs written during the same request tell you why: which order, which step, which answer from outside. With the Rails gem, every log carries the identifier of its request, and CloseYourIt puts logs and errors of the same request side by side.",[349,350,352],"h2",{"id":351},"_1-create-the-project-and-the-token","1. Create the project and the token",[354,355,356,365,372],"ol",{},[357,358,359,360,364],"li",{},"In CloseYourIt create a project for the app, for example ",[361,362,363],"code",{},"shop",".",[357,366,367,368,364],{},"In the project's settings create an ",[369,370,371],"strong",{},"ingest token",[357,373,374,375,378,379,382],{},"Copy the secret ",[361,376,377],{},"token",", which starts with ",[361,380,381],{},"cyi_",", and the project id. Keep the token in the server's environment, never in the code.",[349,384,386],{"id":385},"_2-install-the-gem","2. Install the gem",[388,389,394],"pre",{"className":390,"code":391,"language":392,"meta":393,"style":393},"language-ruby shiki shiki-themes github-light github-dark","# Gemfile\ngem \"closeyourit-ruby\"\n","ruby","",[361,395,396,403],{"__ignoreMap":393},[397,398,400],"span",{"class":399,"line":13},"line",[397,401,402],{},"# Gemfile\n",[397,404,405],{"class":399,"line":19},[397,406,407],{},"gem \"closeyourit-ruby\"\n",[388,409,413],{"className":410,"code":411,"language":412,"meta":393,"style":393},"language-bash shiki shiki-themes github-light github-dark","bundle install\n","bash",[361,414,415],{"__ignoreMap":393},[397,416,417,421],{"class":399,"line":13},[397,418,420],{"class":419},"sScJk","bundle",[397,422,424],{"class":423},"sZZnC"," install\n",[349,426,428],{"id":427},"_3-configure-it-with-the-rails-logs","3. Configure it, with the Rails logs",[388,430,432],{"className":390,"code":431,"language":392,"meta":393,"style":393},"# config\u002Finitializers\u002Fcloseyourit.rb\nCloseYourIt.init do |c|\n  c.endpoint_url = \"https:\u002F\u002Fbugs.example.com\"\n  c.token        = ENV[\"CLOSEYOURIT_TOKEN\"]\n  c.project_id   = ENV[\"CLOSEYOURIT_PROJECT_ID\"]\n  c.environment  = Rails.env\n\n  # Also forward the lines of Rails.logger, from warn up.\n  c.capture_rails_logs = true\nend\n",[361,433,434,439,444,449,454,459,464,470,475,480],{"__ignoreMap":393},[397,435,436],{"class":399,"line":13},[397,437,438],{},"# config\u002Finitializers\u002Fcloseyourit.rb\n",[397,440,441],{"class":399,"line":19},[397,442,443],{},"CloseYourIt.init do |c|\n",[397,445,446],{"class":399,"line":24},[397,447,448],{},"  c.endpoint_url = \"https:\u002F\u002Fbugs.example.com\"\n",[397,450,451],{"class":399,"line":29},[397,452,453],{},"  c.token        = ENV[\"CLOSEYOURIT_TOKEN\"]\n",[397,455,456],{"class":399,"line":34},[397,457,458],{},"  c.project_id   = ENV[\"CLOSEYOURIT_PROJECT_ID\"]\n",[397,460,461],{"class":399,"line":39},[397,462,463],{},"  c.environment  = Rails.env\n",[397,465,466],{"class":399,"line":45},[397,467,469],{"emptyLinePlaceholder":468},true,"\n",[397,471,472],{"class":399,"line":56},[397,473,474],{},"  # Also forward the lines of Rails.logger, from warn up.\n",[397,476,477],{"class":399,"line":64},[397,478,479],{},"  c.capture_rails_logs = true\n",[397,481,482],{"class":399,"line":73},[397,483,484],{},"end\n",[345,486,487,488,491,492,495],{},"Set ",[361,489,490],{},"CLOSEYOURIT_TOKEN"," and ",[361,493,494],{},"CLOSEYOURIT_PROJECT_ID"," in the environment of the deployed app, then deploy.",[345,497,498,501,502,505,506,509,510,491,513,516,517,520],{},[361,499,500],{},"capture_rails_logs"," forwards only ",[361,503,504],{},"warn"," and above: at ",[361,507,508],{},"info"," Rails writes a line for every request and would flood the list. The gem sends nothing from the ",[361,511,512],{},"development",[361,514,515],{},"test"," environments. To try from your computer, add ",[361,518,519],{},"c.disabled_environments = []"," and remove it when you are done.",[349,522,524],{"id":523},"_4-write-your-own-logs","4. Write your own logs",[345,526,527],{},"Add messages where the story matters, with the data that explains it:",[388,529,531],{"className":390,"code":530,"language":392,"meta":393,"style":393},"CloseYourIt.log(:info, \"Order created\", order_id: order.id, items: order.items.count)\nCloseYourIt.log(:warning, \"Payment retry\", order_id: order.id, attempt: 2)\n",[361,532,533,538],{"__ignoreMap":393},[397,534,535],{"class":399,"line":13},[397,536,537],{},"CloseYourIt.log(:info, \"Order created\", order_id: order.id, items: order.items.count)\n",[397,539,540],{"class":399,"line":19},[397,541,542],{},"CloseYourIt.log(:warning, \"Payment retry\", order_id: order.id, attempt: 2)\n",[345,544,545],{},"Inside a request, every message takes the request identifier by itself: the one Rails already assigns. In background jobs the identifier is the job's, so the logs and the error of the same job line up too. You do not have to pass anything.",[345,547,548,549,551,552,554,555,554,558,561,562,364],{},"Messages below ",[361,550,508],{}," are not sent. Values whose name contains ",[361,553,377],{},", ",[361,556,557],{},"email",[361,559,560],{},"card"," or other sensitive words leave the app as ",[361,563,564],{},"[FILTERED]",[349,566,568],{"id":567},"_5-follow-a-request","5. Follow a request",[345,570,571],{},"When an error happens in a request that wrote logs:",[354,573,574,579,586],{},[357,575,576,577,364],{},"Open the error in ",[369,578,202],{},[357,580,581,582,585],{},"Open the ",[369,583,584],{},"Logs of this request"," tab: the messages written while it happened, in order.",[357,587,588,591,592,594],{},[369,589,590],{},"View all logs of this request"," opens the full list in ",[369,593,212],{},", filtered on that request.",[345,596,597],{},"From a message, the other way round:",[354,599,600,606],{},[357,601,602,603,605],{},"Open ",[369,604,212],{}," and the message.",[357,607,608,611,612,615],{},[369,609,610],{},"This request"," lists the other logs of the same request, ",[369,613,614],{},"Errors of this request"," the errors.",[345,617,618,619,621],{},"You can also paste a request identifier into the search of ",[369,620,212],{},", or use the terminal:",[388,623,625],{"className":410,"code":624,"language":412,"meta":393,"style":393},"cyi logs list --trace-id \u003Ctrace-id>\n",[361,626,627],{"__ignoreMap":393},[397,628,629,632,635,638,642,646,649,653],{"class":399,"line":13},[397,630,631],{"class":419},"cyi",[397,633,634],{"class":423}," logs",[397,636,637],{"class":423}," list",[397,639,641],{"class":640},"sj4cs"," --trace-id",[397,643,645],{"class":644},"szBVR"," \u003C",[397,647,648],{"class":423},"trace-i",[397,650,652],{"class":651},"sVt8B","d",[397,654,655],{"class":644},">\n",[349,657,659],{"id":658},"_6-link-a-message-without-the-identifier","6. Link a message without the identifier",[345,661,662],{},"A message written outside the request, for example by a scheduled script, does not carry the identifier. Link it by hand:",[354,664,665,668,678],{},[357,666,667],{},"Open the message.",[357,669,670,671,674,675,364],{},"In ",[369,672,673],{},"Linked to"," press ",[369,676,677],{},"Link to error\u002Fticket",[357,679,680,681,364],{},"Search the error by title, then press ",[369,682,683],{},"Link",[345,685,686,687,690],{},"The message appears in ",[369,688,689],{},"Linked logs"," on the error page. You need the \"Link a log to a ticket\" permission.",[349,692,694],{"id":693},"how-long-they-are-kept","How long they are kept",[345,696,697,698,491,700,364],{},"Logs are kept for 14 days, then deleted by themselves. To keep them longer for a project, open it, then ",[369,699,17],{},[369,701,702],{},"Logs retention (days)",[704,705,706],"style",{},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}",{"title":393,"searchDepth":19,"depth":19,"links":708},[709,710,711,712,713,714,715],{"id":351,"depth":19,"text":352},{"id":385,"depth":19,"text":386},{"id":427,"depth":19,"text":428},{"id":523,"depth":19,"text":524},{"id":567,"depth":19,"text":568},{"id":658,"depth":19,"text":659},{"id":693,"depth":19,"text":694},"md",{},{"title":191,"description":192},"docs\u002Frecipe-request-logs","wdGd10r-Vk-0GCF0fJ5tM_somvVyhBlftBQQ2tkwpQ4",1794441702402]