Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 599
Coffee Avatar asked Jul 06 '16 07:07

Coffee


1 Answers

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
like image 89
Coffee Avatar answered Sep 28 '22 10:09

Coffee