-
Notifications
You must be signed in to change notification settings - Fork 389
Replies: 2 comments · 5 replies
-
可以提供一下完整的日志吗 |
Beta Was this translation helpful? Give feedback.
All reactions
-
重新执行了编译得到的 binary,日志如下(
以下是 Release 1.6.0 binary 的日志:
|
Beta Was this translation helpful? Give feedback.
All reactions
-
看样子是 Release 1.6.0 binary 你启动的时候使用了flusher_stdout,而重新执行了编译得到的 binary 你配置了flusher_sls,可以设置同样的一份配置再试试哈,希望我的回答能帮到你 |
Beta Was this translation helpful? Give feedback.
All reactions
-
添加 stdout flusher 也是一样的: Release 1.6.0 的 config 里去掉 stdout flusher,也依然会在控制台显示提示信息并等待打印 log |
Beta Was this translation helpful? Give feedback.
All reactions
-
能帮忙提供一下 Release 版本的编译文档吗?现在能很明确地知道编译出来的 binary 跟 Release 版本不一致,除了输入输出重定向和进程数量之外,还有其它的区别
|
Beta Was this translation helpful? Give feedback.
All reactions
-
找到问题了,辛苦关闭一下这个 discussion 吧 😄 |
Beta Was this translation helpful? Give feedback.
All reactions
-
原因麻烦写下,之后Mark As answer即可。 |
Beta Was this translation helpful? Give feedback.
-
下面是编译出来的 binary 执行时情况,有两个进程,输入输出都被定向到了
/dev/null
,与 ECS 默认安装的 iLogtail 行为很相似:下面是仓库里的 Release 1.6.0 版本发行包里的 binary 执行时的情况,只有一个进程,输入输出没有被重定向,运行期间会向控制台打印输出:
编译时参考的文档是 iLogtail 用户手册,这两个 binary 有什么区别呢
Beta Was this translation helpful? Give feedback.
All reactions