Added dropdown for dynamically changing the log level (#962)

This commit is contained in:
Ahmad Farhat
2020-02-24 12:51:27 -05:00
committed by GitHub
parent 2cc1fdf281
commit 4093a89b4a
6 changed files with 79 additions and 0 deletions

View File

@ -56,6 +56,15 @@ en:
regular: Regular
lighten: Lighten
darken: Darken
log_level:
title: Log Level
information: Change the Log Level for the entire deployment
debug: Debug
info: Info
warn: Warn
error: Error
fatal: Fatal
unknown: Unknown
recording_visibility:
info: Set the default recording visbility for new recordings
title: Recording Default Visibility

View File

@ -57,6 +57,7 @@ Rails.application.routes.draw do
post '/coloring', to: 'admins#coloring', as: :admin_coloring
post '/clear_cache', to: 'admins#clear_cache', as: :admin_clear_cache
post '/clear_auth', to: 'admins#clear_auth', as: :admin_clear_auth
post '/log_level', to: 'admins#log_level', as: :admin_log_level
# Roles
post '/role', to: 'admins#new_role', as: :admin_new_role
patch 'roles/order', to: 'admins#change_role_order', as: :admin_roles_order