zoukankan      html  css  js  c++  java
  • agent 日志

    Enabling debug console for QEMU

    Add agent.debug_console to the guest kernel command line to allow the agent process to start a debug console.

    $ sudo sed -i -e 's/^kernel_params = "(.*)"/kernel_params = "1 agent.debug_console"/g' "${kata_configuration_file}"
    

    Here kata_configuration_file could point to /etc/kata-containers/configuration.toml or /usr/share/defaults/kata-containers/configuration.toml or /opt/kata/share/defaults/kata-containers/configuration-{hypervisor}.toml, if you installed Kata Containers using kata-deploy.

    time="2020-10-10T09:29:10.59517718Z" level=debug msg="request end" debug_console=true duration=754.84834ms name=kata-agent pid=51 request=/grpc.AgentService/ReadStdout resp="data:"\r\n" " sandbox=cf09483176d1a73c6e21d0b69a1de3b2d06b2cde4ec63f62d5e6608e0ab7a93c source=agent
    time="2020-10-10T09:29:10.59604982Z" level=debug msg="new request" debug_console=true name=kata-agent pid=51 req="container_id:"cf09483176d1a73c6e21d0b69a1de3b2d06b2cde4ec63f62d5e6608e0ab7a93c" exec_id:"b8294780-523d-4349-a975-403f37edc5a2" len:32768 " request=/grpc.AgentService/ReadStdout sandbox=cf09483176d1a73c6e21d0b69a1de3b2d06b2cde4ec63f62d5e6608e0ab7a93c source=agent
    time="2020-10-10T09:29:10.62991176Z" level=debug msg="request end" debug_console=true duration=33.57644ms name=kata-agent pid=51 request=/grpc.AgentService/ReadStdout resp="data:"1\r\n" " sandbox=cf09483176d1a73c6e21d0b69a1de3b2d06b2cde4ec63f62d5e6608e0ab7a93c source=agent
    time="2020-10-10T09:29:10.63057746Z" level=debug msg="new request" debug_console=true name=kata-agent pid=51 req="container_id:"cf09483176d1a73c6e21d0b69a1de3b2d06b2cde4ec63f62d5e6608e0ab7a93c" exec_id:"b8294780-523d-4349-a975-403f37edc5a2" len:32768 " request=/grpc.AgentService/ReadStdout sandbox=cf09483176d1a73c6e21d0b69a1de3b2d06b2cde4ec63f62d5e6608e0ab7a93c source=agent
    time="2020-10-10T09:29:10.63168484Z" level=debug msg="request end" debug_console=true duration="967.92µs" name=kata-agent pid=51 request=/grpc.AgentService/ReadStdout resp="data:"root@cf09483176d1:/# " " sandbox=cf09483176d1a73c6e21d0b69a1de3b2d06b2cde4ec63f62d5e6608e0ab7a93c source=agent
    time="2020-10-10T09:29:10.63228636Z" level=debug msg="new request" debug_console=true name=kata-agent pid=51 req="container_id:"cf09483176d1a73c6e21d0b69a1de3b2d06b2cde4ec63f62d5e6608e0ab7a93c" exec_id:"b8294780-523d-4349-a975-403f37edc5a2" len:32768 " request=/grpc.AgentService/ReadStdout sandbox=cf09483176d1a73c6e21d0b69a1de3b2d06b2cde4ec63f62d5e6608e0ab7a93c source=agent
  • 相关阅读:
    ATmega328P定时器详解
    成员指针与mem_fn
    引用传参与reference_wrapper
    定位new表达式与显式调用析构函数
    模板参数的“右值引用”是转发引用
    C++生成随机数
    测量C++程序运行时间
    Snmp扫描-snmpwalk、snmpcheck
    操作系统识别-python、nmap
    服务扫描-dmitry、nmap、amap和服务识别
  • 原文地址:https://www.cnblogs.com/dream397/p/13794030.html
Copyright © 2011-2022 走看看