重庆思庄Oracle、Redhat认证学习论坛

标题: 实时输出容器中的日志 [打印本页]

作者: 郑全    时间: 2024-3-13 19:08
标题: 实时输出容器中的日志
有时想实时输出容器的日志,进行问题排错

$ podman logs -ft   ascii2pdf

  -t 带上时间
  -f 实时显示
  
  ascii2pdf :容器名字
...
2024-03-13T07:06:49.021810953-04:00 **** Unable to open the initial device, quitting.
2024-03-13T07:06:51.043704586-04:00 enscript: couldn't open input file "/files/": No such file or directory
2024-03-13T07:06:51.043704586-04:00 no output generated
2024-03-13T07:06:51.140111428-04:00 GPL Ghostscript 9.54.0: **** Could not open the file /outfiles/ .
2024-03-13T07:06:51.140209955-04:00 **** Unable to open the initial device, quitting.
...




欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2