forked from External/greenlight
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:
committed by
Jesus Federico
parent
a080d3dd62
commit
c472f751a1
@ -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?
|
||||
|
Reference in New Issue
Block a user