Reputation: 22369
When executing an eval script from a remote location.
How can we log so we can evaluate what is happening?
local name = KEYS[1]
local key = KEYS[2]
local desired = ARGV[1]
local expecting = ARGV[2]
local expires = ARGV[3]
local channel = ARGV[4]
local message = ARGV[5]
redis.log(...) ?
And where does such logs go? How can they be viewed?
Upvotes: 1
Views: 1900
Reputation: 22936
If you configured logfile
in redis.conf, the logs will go to that file. If logfile
is empty string, i.e. the default value, and redis-server is not daemonized, the logs will be printed to standard output. If it's empty, and redis-server is daemonized, logs go to /dev/null
.
Upvotes: 3