127.0.0.1:6379> acl log (empty array) 127.0.0.1:6379>

how do can show log info ??

thank you much!

Comment From: startjava

127.0.0.1:6379> acl users 1) "default" 127.0.0.1:6379> acl log reset OK 127.0.0.1:6379> acl log (empty array) 127.0.0.1:6379> acl cat 1) "keyspace" 2) "read" 3) "write" 4) "set" 5) "sortedset" 6) "list" 7) "hash" 8) "string" 9) "bitmap" 10) "hyperloglog" 11) "geo" 12) "stream" 13) "pubsub" 14) "admin" 15) "fast" 16) "slow" 17) "blocking" 18) "dangerous" 19) "connection" 20) "transaction" 21) "scripting" 127.0.0.1:6379> acl cat admin 1) "psync" 2) "slaveof" 3) "pfselftest" 4) "client" 5) "pfdebug" 6) "monitor" 7) "slowlog" 8) "acl" 9) "module" 10) "latency" 11) "save" 12) "config" 13) "debug" 14) "bgrewriteaof" 15) "shutdown" 16) "lastsave" 17) "sync" 18) "replconf" 19) "replicaof" 20) "bgsave" 21) "cluster" 127.0.0.1:6379> acl setuser ghy >123 on +@admin OK 127.0.0.1:6379> ghy@ghy-VirtualBox:~/T/Redis$ redis-cli 127.0.0.1:6379> auth ghy 123 OK 127.0.0.1:6379> set a aa (error) NOPERM this user has no permissions to run the 'set' command or its subcommand 127.0.0.1:6379> acl log 1) 1) "count" 2) (integer) 1 3) "reason" 4) "command" 5) "context" 6) "toplevel" 7) "object" 8) "set" 9) "username" 10) "ghy" 11) "age-seconds" 12) "3.2639999999999998" 13) "client-info" 14) "id=15 addr=127.0.0.1:59110 fd=7 name= age=8 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=28 qbuf-free=32740 obl=0 oll=0 omem=0 events=r cmd=set user=ghy" 127.0.0.1:6379> acl log 10 1) 1) "count" 2) (integer) 1 3) "reason" 4) "command" 5) "context" 6) "toplevel" 7) "object" 8) "set" 9) "username" 10) "ghy" 11) "age-seconds" 12) "49.404000000000003" 13) "client-info" 14) "id=15 addr=127.0.0.1:59110 fd=7 name= age=8 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=28 qbuf-free=32740 obl=0 oll=0 omem=0 events=r cmd=set user=ghy" 127.0.0.1:6379>

over !!!!!! i am fine!!!