Skip to content

Commit

Permalink
Shift logging to warn level.
Browse files Browse the repository at this point in the history
  • Loading branch information
petergoldstein committed Dec 7, 2015
1 parent 93d096e commit 0a328df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ Dalli Changelog

- Support rcvbuff and sndbuff byte configuration. (btatnall)
- Add `:cache_nils` option to support nil values in `DalliStore#fetch` and `Dalli::Client#fetch` (wjordan, #559)
- Log retryable server errors with 'warn' instead of 'info' (phrinx)
- Clean up gemspec, and use Bundler for loading (grosser)
- Fix timeout issue with Dalli::Client#get_multi_yielder (dspeterson)
- Escape namespaces with special regexp characters (Steven Peckins)
- Ensure LocalCache supports the `:raw` option and Entry unwrapping (sj26)
- Dry up local cache testing (grosser)

2.7.4
==========
Expand Down
2 changes: 1 addition & 1 deletion lib/dalli/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def reconnect!(message)

def failure!(exception)
message = "#{name} failed (count: #{@fail_count}) #{exception.class}: #{exception.message}"
Dalli.logger.info { message }
Dalli.logger.warn { message }

@fail_count += 1
if @fail_count >= options[:socket_max_failures]
Expand Down

0 comments on commit 0a328df

Please sign in to comment.