Coffee
Coffee

Reputation: 2233

Log Redis monitor command results?

So when I use redis-cli monitor command, I get a huge bunch of text that does not even fit the console.

Does it get logged somewhere? Or is it somehow possible to write all these data in some text file?

Upvotes: 7

Views: 11989

Answers (1)

Coffee
Coffee

Reputation: 2233

Well I didn't know about simple command line that logs console output into text file:

redis-cli [-h `host`] [-p `port`] [-a `auth`] monitor > redislog.txt

Upvotes: 19

Related Questions