DEV: Increase log levels for more assets/static paths.
This commit is contained in:
parent
a1dd761bd9
commit
09a89cff1a
|
@ -8,6 +8,10 @@ module DiscourseRackQuietAssetsLogger
|
||||||
def call(env)
|
def call(env)
|
||||||
override = false
|
override = false
|
||||||
if (env['PATH_INFO'].index("/assets/") == 0) ||
|
if (env['PATH_INFO'].index("/assets/") == 0) ||
|
||||||
|
(env['PATH_INFO'].index("/stylesheets") == 0) ||
|
||||||
|
(env['PATH_INFO'].index("/svg-sprite") == 0) ||
|
||||||
|
(env['PATH_INFO'].index("/manifest") == 0) ||
|
||||||
|
(env['PATH_INFO'].index("/service-worker") == 0) ||
|
||||||
(env['PATH_INFO'].index("mini-profiler-resources") == 0) ||
|
(env['PATH_INFO'].index("mini-profiler-resources") == 0) ||
|
||||||
(env['PATH_INFO'].index("/srv/status") == 0)
|
(env['PATH_INFO'].index("/srv/status") == 0)
|
||||||
if ::Logster::Logger === Rails.logger
|
if ::Logster::Logger === Rails.logger
|
||||||
|
|
Loading…
Reference in New Issue