GRN2-xx: Switched to Lograge for logging and increased log level to info (#694)

* Switched to Lograge for logging and increased log level to info

* Travis fixes

* Travis fixes 2
This commit is contained in:
farhatahmad
2019-07-25 15:07:56 -04:00
committed by Jesus Federico
parent a080d3dd62
commit c472f751a1
4 changed files with 33 additions and 6 deletions

View File

@ -44,6 +44,12 @@ class ApplicationController < ActionController::Base
MEETING_NAME_LIMIT = 90
USER_NAME_LIMIT = 32
# Include user domain in lograge logs
def append_info_to_payload(payload)
super
payload[:host] = @user_domain
end
# Show an information page when migration fails and there is a version error.
def migration_error?
render :migration_error unless ENV["DB_MIGRATE_FAILED"].blank?