import{s as se,n as oe,o as le}from"../chunks/scheduler.a045fce0.js";import{S as pe,i as re,e as o,s as a,c as T,h as me,a as l,d as n,b as s,f as ie,g as L,j as r,k as ae,l as fe,m as i,n as P,t as k,o as E,p as M}from"../chunks/index.c7f31426.js";import{H as K,E as ge}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.8ed610dd.js";function de(Q){let p,z,C,H,m,O,f,V=`The Logs page gives you monitoring and debugging capabilities for your deployed models. This view allows you to track the
operational status and runtime logs of your inference endpoints in real-time.`,S,g,A,d,W=`The Logs page is accessible through the main navigation tabs within your endpoint dashboard, alongside Overview, Analytics, Usage & Cost,
and Settings. The interface displays logs for your specific model deployment.`,D,c,X='<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/logs/logs.png" alt="banner"/>',R,u,j,h,Y=`At the top of the logs interface, you’ll find deployment information that provides an at-a-glance view of your Inference Endpoints’s current
state. The deployment status section shows the deployment identifier (for example <code>6pajyw3k</code> like in the image above) and replica information
(z7ghx), along with the combined deployment-replica identifier (6pajyw3k-z7ghx).`,q,y,Z=`Next to the filter, you’ll find a status indicator. The interface also tracks important timestamps, showing when the endpoint was started and
when it was stopped, giving you precise timing information for deployment lifecycle management.`,I,$,U,v,ee=`The logs view provides flexible filtering capabilities to help you focus on the information most relevant to your needs. The filter
controls include toggleable options for Timestamp, Log Level, Content, and Replica information. These filters allow you to customize the
log display based on your specific debugging or monitoring requirements.`,F,w,te="The timestamp display defaults to UTC format, ensuring consistent time references across different geographical locations and team members.",B,x,ne=`The main log display area presents a paginated view of log entries. By default the latest 50 lines are loaded and by clicking the
“Load More” option you can access additional historical log data.`,G,b,N,_,J;return m=new K({props:{title:"Runtime Logs",local:"runtime-logs",headingTag:"h1"}}),g=new K({props:{title:"Accessing the Logs Interface",local:"accessing-the-logs-interface",headingTag:"h2"}}),u=new K({props:{title:"Deployment Status Overview",local:"deployment-status-overview",headingTag:"h2"}}),$=new K({props:{title:"Log Filtering and Display Options",local:"log-filtering-and-display-options",headingTag:"h2"}}),b=new ge({props:{source:"https://github.com/huggingface/hf-endpoints-documentation/blob/main/docs/source/guides/logs.md"}}),{c(){p=o("meta"),z=a(),C=o("p"),H=a(),T(m.$$.fragment),O=a(),f=o("p"),f.textContent=V,S=a(),T(g.$$.fragment),A=a(),d=o("p"),d.textContent=W,D=a(),c=o("p"),c.innerHTML=X,R=a(),T(u.$$.fragment),j=a(),h=o("p"),h.innerHTML=Y,q=a(),y=o("p"),y.textContent=Z,I=a(),T($.$$.fragment),U=a(),v=o("p"),v.textContent=ee,F=a(),w=o("p"),w.textContent=te,B=a(),x=o("p"),x.textContent=ne,G=a(),T(b.$$.fragment),N=a(),_=o("p"),this.h()},l(e){const t=me("svelte-u9bgzb",document.head);p=l(t,"META",{name:!0,content:!0}),t.forEach(n),z=s(e),C=l(e,"P",{}),ie(C).forEach(n),H=s(e),L(m.$$.fragment,e),O=s(e),f=l(e,"P",{"data-svelte-h":!0}),r(f)!=="svelte-1pob2mc"&&(f.textContent=V),S=s(e),L(g.$$.fragment,e),A=s(e),d=l(e,"P",{"data-svelte-h":!0}),r(d)!=="svelte-1o2m7pw"&&(d.textContent=W),D=s(e),c=l(e,"P",{"data-svelte-h":!0}),r(c)!=="svelte-3dics8"&&(c.innerHTML=X),R=s(e),L(u.$$.fragment,e),j=s(e),h=l(e,"P",{"data-svelte-h":!0}),r(h)!=="svelte-rxr0z9"&&(h.innerHTML=Y),q=s(e),y=l(e,"P",{"data-svelte-h":!0}),r(y)!=="svelte-1tlnawa"&&(y.textContent=Z),I=s(e),L($.$$.fragment,e),U=s(e),v=l(e,"P",{"data-svelte-h":!0}),r(v)!=="svelte-121ot65"&&(v.textContent=ee),F=s(e),w=l(e,"P",{"data-svelte-h":!0}),r(w)!=="svelte-z5qkcs"&&(w.textContent=te),B=s(e),x=l(e,"P",{"data-svelte-h":!0}),r(x)!=="svelte-p3dss6"&&(x.textContent=ne),G=s(e),L(b.$$.fragment,e),N=s(e),_=l(e,"P",{}),ie(_).forEach(n),this.h()},h(){ae(p,"name","hf:doc:metadata"),ae(p,"content",ce)},m(e,t){fe(document.head,p),i(e,z,t),i(e,C,t),i(e,H,t),P(m,e,t),i(e,O,t),i(e,f,t),i(e,S,t),P(g,e,t),i(e,A,t),i(e,d,t),i(e,D,t),i(e,c,t),i(e,R,t),P(u,e,t),i(e,j,t),i(e,h,t),i(e,q,t),i(e,y,t),i(e,I,t),P($,e,t),i(e,U,t),i(e,v,t),i(e,F,t),i(e,w,t),i(e,B,t),i(e,x,t),i(e,G,t),P(b,e,t),i(e,N,t),i(e,_,t),J=!0},p:oe,i(e){J||(k(m.$$.fragment,e),k(g.$$.fragment,e),k(u.$$.fragment,e),k($.$$.fragment,e),k(b.$$.fragment,e),J=!0)},o(e){E(m.$$.fragment,e),E(g.$$.fragment,e),E(u.$$.fragment,e),E($.$$.fragment,e),E(b.$$.fragment,e),J=!1},d(e){e&&(n(z),n(C),n(H),n(O),n(f),n(S),n(A),n(d),n(D),n(c),n(R),n(j),n(h),n(q),n(y),n(I),n(U),n(v),n(F),n(w),n(B),n(x),n(G),n(N),n(_)),n(p),M(m,e),M(g,e),M(u,e),M($,e),M(b,e)}}}const ce='{"title":"Runtime Logs","local":"runtime-logs","sections":[{"title":"Accessing the Logs Interface","local":"accessing-the-logs-interface","sections":[],"depth":2},{"title":"Deployment Status Overview","local":"deployment-status-overview","sections":[],"depth":2},{"title":"Log Filtering and Display Options","local":"log-filtering-and-display-options","sections":[],"depth":2}],"depth":1}';function ue(Q){return le(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ve extends pe{constructor(p){super(),re(this,p,ue,de,se,{})}}export{ve as component};
