Ada Hakka's Blog

May the force be with you.

2021年9月18日

容器重定向内容至标准输出 stdout

摘要: 0x00 前言 日志采集器对容器的 stdout 进行日志采集,在对某关键字做告警需求时涉及到调试问题:等待业务触发日志不方便调试,所以可以从终端直接往 stdout 传递内容。 0x01 操作 登录容器执行 $ echo "[LOG] echo something log up to the st 阅读全文

posted @ 2021-09-18 10:32 Adahakka 阅读(239) 评论(0) 推荐(0) 编辑

导航