|
@ -120,7 +120,7 @@ class AnsiFormatter < SemanticLogger::Formatters::Color |
|
|
end |
|
|
end |
|
|
elsif log.message =~ /Redirected/ |
|
|
elsif log.message =~ /Redirected/ |
|
|
log.level = :debug |
|
|
log.level = :debug |
|
|
@regex_redirected ||= build_regex_redirected # called once when Rails gets ready! |
|
|
|
|
|
|
|
|
@regex_redirected ||= build_regex_redirected # lazy building |
|
|
log.message = two_captures_last_as_bold(log.message, @regex_redirected) |
|
|
log.message = two_captures_last_as_bold(log.message, @regex_redirected) |
|
|
end |
|
|
end |
|
|
elsif log.exception |
|
|
elsif log.exception |
|
|