cc959798
V2EX  ›  PHP

线上一般是怎么查看 PHP log 的?仅仅用 tail 吗?

  •  
  •   cc959798 · Oct 19, 2018 · 4255 views
    This topic created in 2956 days ago, the information mentioned may be changed or developed.

    tail 是比较常见的方式,但是在一个集群当中,log 分布到不同的机器上,这种方式就得登录不同机器,这种变的很麻烦了,请问有什么好的方式

    4 replies  •  2018-10-19 22:04:00 +08:00
    simonliu2018
    simonliu2018
    Oct 19, 2018
    1
    如果日志分布在多机,可以搭建一套日志分析系统(比如 ELK )。
    yc8332
    yc8332
    Oct 19, 2018
    2
    公司用 elk。。。
    xiaoqicheng
    xiaoqicheng
    Oct 19, 2018
    3
    用 elk 还是不错的
    mingyun
    mingyun
    Oct 19, 2018
    4
    sentry
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5185 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 02:22 · PVG 10:22 · LAX 18:22 · JFK 21:22
    ♥ Do have faith in what you're doing.