Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Change redis port from 36379 to default - 6379 in README.md file
Browse files Browse the repository at this point in the history
This could save a couple of seconds to users that try this gem out.

https://github.com/antirez/redis/blob/764b420f5fddfe177638828a43c921eb949b140c/redis.conf#L92
  • Loading branch information
bogdanvlviv authored and jeremy committed Nov 14, 2019
1 parent e455158 commit 8f9e352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Full Request Logger

Easy access to full request logs via a web UI. The recorder attaches to the existing Rails.logger instance,
Easy access to full request logs via a web UI. The recorder attaches to the existing Rails.logger instance,
and captures a copy of each log line into a per-thread buffer. When the request is over, the middleware makes
the recorder store all the log lines that were recorded for that request as a compressed batch to an auto-expiring Redis key.

Expand All @@ -24,7 +24,7 @@ is the enabled setting.
```ruby
config.full_request_logger.enabled = true
config.full_request_logger.ttl = 1.hour
config.full_request_logger.redis = { host: "127.0.0.1", port: 36379, timeout: 1 }
config.full_request_logger.redis = { host: "127.0.0.1", port: 6379, timeout: 1 }
```

You can restrict which requests will be stored by setting an eligibility function that gets to evaluate the request:
Expand Down

0 comments on commit 8f9e352

Please sign in to comment.