xinali
V2EX  ›  Redis

redis 如何查看登录日志

  •  
  •   xinali · Jul 11, 2016 · 7098 views
    This topic created in 3617 days ago, the information mentioned may be changed or developed.

    redis 可以像 ssh 一样,查看从哪个主机登录,做了哪些操作吗?

    3 replies    2016-07-11 22:02:42 +08:00
    Charlie82
        1
    Charlie82  
       Jul 11, 2016
    不能
    owt5008137
        2
    owt5008137  
       Jul 11, 2016 via Android
    除非你开 debug 日志,没试过,可能有。否则默认的日志里正常运行的话几乎没有什么输出
    owt5008137
        3
    owt5008137  
       Jul 11, 2016 via Android
    哦,或者可以用 monitor 命令
    http://redis.io/commands/monitor
    但是这货不建议生产环境大规模用,会降低性能
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1352 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 17:09 · PVG 01:09 · LAX 10:09 · JFK 13:09
    ♥ Do have faith in what you're doing.