Permalink
Browse files

CLC-696 Add more log to determine_bucket method

  • Loading branch information...
1 parent 567fe4c commit 3f5f4c00bdb92f75733bf03d51ec83383f4370eb Chris Tweney committed Dec 5, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 app/models/my_tasks.rb
  2. +1 −1 config/settings.yml
@@ -124,6 +124,8 @@ def determine_bucket(due_date, status, formatted_entry)
elsif due.to_i > day_after_tomorrow
bucket = "upcoming"
end
+
+ logger.info "In determine_bucket, today = #{today} tomorrow = #{tomorrow} day after tomorrow = #{day_after_tomorrow}; formatted entry = #{formatted_entry}"
end
bucket
end
View
@@ -1,5 +1,5 @@
logger:
- level: <%= DEBUG %>
+ level: <%= INFO %>
application:
# Set to true if testing production env without Apache/Nginx

0 comments on commit 3f5f4c0

Please sign in to comment.