NoSQL: Another Redis Use Case: Centralized Logging

| | bookmark | email

Another Redis Use Case: Centralized Logging

Log analysis has become a difficult task in our production environment at work because logs are distributed on different machines and in different files. So, we wanted all the exception logs from all of our apps to be tracked centrally and viewed in single console. And once again, we found another good use case for Redis. Our strategy is to dump all of critical logs in to a Redis List and have a background worker which continuously pulls logs from the Redis List and write stuff in log file.

tags:Redis

via NoSQL databases