gpt4 book ai didi

meteor - 如何隐藏 meteor 服务器 console.log 的日期?

转载 作者:行者123 更新时间:2023-12-04 08:32:22 25 4
gpt4 key购买 nike

Meteor 在服务器上记录日期:

I20170615-12:55:31.560(2)? my log message

是否有设置/环境变量来禁用左侧的日期?

最佳答案

我相信你应该通过--raw-logs作为运行meteor时的参数。

例如:

meteor --settings settings.json --raw-logs

我找到了一些关于此的信息:
  • https://github.com/meteor/meteor/issues/7396
  • https://forums.meteor.com/t/meteor-test-raw-logs/26361

  • 正如 masterAM 在评论中建议的那样:
      --raw-logs       Run without parsing logs from stdout and stderr.

    关于meteor - 如何隐藏 meteor 服务器 console.log 的日期?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44572563/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com