cc959798
V2EX  ›  PHP

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

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

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

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