windows版redis关于日志输出的配置
阿神
阿神 2017-04-27 09:03:03
0
1
722

目前log level为notice,不想配置为warning,不知是否可以配置消息输出的时间间隔和数据体积的单位?

目前输出如下,希望能自定义输出时间间隔,如半分钟一次,然后数据体积用KB/MB为单位,仔细了解了配置文件,没发现这类自定义项呢?

[15856] 04 Jan 18:55:46 - 7 clients connected (0 slaves), 113862688 bytes in use [15856] 04 Jan 18:55:51 - DB 0: 2 keys (0 volatile) in 4 slots HT. [15856] 04 Jan 18:55:51 - 7 clients connected (0 slaves), 113881376 bytes in use [15856] 04 Jan 18:55:56 - DB 0: 2 keys (0 volatile) in 4 slots HT. [15856] 04 Jan 18:55:56 - 7 clients connected (0 slaves), 113903056 bytes in use [15856] 04 Jan 18:56:01 - DB 0: 2 keys (0 volatile) in 4 slots HT. [15856] 04 Jan 18:56:01 - 7 clients connected (0 slaves), 113911168 bytes in use [15856] 04 Jan 18:56:06 - DB 0: 2 keys (0 volatile) in 4 slots HT. [15856] 04 Jan 18:56:06 - 7 clients connected (0 slaves), 113944696 bytes in use [15856] 04 Jan 18:56:11 - DB 0: 2 keys (0 volatile) in 4 slots HT. [15856] 04 Jan 18:56:11 - 7 clients connected (0 slaves), 113977680 bytes in use [15856] 04 Jan 18:56:16 - DB 0: 2 keys (0 volatile) in 4 slots HT. [15856] 04 Jan 18:56:16 - 7 clients connected (0 slaves), 114002896 bytes in use [15856] 04 Jan 18:56:21 - DB 0: 2 keys (0 volatile) in 4 slots HT. [15856] 04 Jan 18:56:21 - 7 clients connected (0 slaves), 114040168 bytes in use
阿神
阿神

闭关修行中......

Antworte allen (1)
習慣沉默

提出的问题是针对“redis-2.4.5-win32-win64”,更新到“3.2.100”版本后问题解决了。
默认notice级别的输出如下:

    Neueste Downloads
    Mehr>
    Web-Effekte
    Quellcode der Website
    Website-Materialien
    Frontend-Vorlage
    Über uns Haftungsausschluss Sitemap
    Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!