documentation - CONFIG SET

449 views
Skip to first unread message

German Larrain

unread,
Jul 17, 2013, 5:45:19 PM7/17/13
to redi...@googlegroups.com
Documentation for command CONFIG SET says "The list of configuration parameters supported by CONFIG SET can be obtained issuing a CONFIG GET * command".

redis 127.0.0.1:6379> CONFIG GET *
  1) "dbfilename"
  2) "dump.rdb"
  3) "requirepass"
  4) "***"
  5) "masterauth"
  6) "***"
  7) "bind"
  8) ""
  9) "unixsocket"
 10) ""
 11) "logfile"
 12) ""
 13) "pidfile"
 14) "/var/run/redis.pid"
 15) "maxmemory"
 16) "0"
 ***
 97) "unixsocketperm"
 98) "0"
 99) "slaveof"
100) ""

However, that seems to be not true for parameter "logfile".

redis 127.0.0.1:6379> CONFIG SET logfile "/var/log/redis/redis-server.log"
(error) ERR Unsupported CONFIG parameter: logfile

If I'm right, the abovementioned documentation page should be modified accordingly (markdown source here).

Also, it would be nice to have at least one full example (it's just a line) for the sake of clarity. For example: redis> CONFIG SET MASTERAUTH my-password
Reply all
Reply to author
Forward
0 new messages