• Lukas Erlacher's avatar
    Show log corresponding to env in admin/logs · e900e53a
    Lukas Erlacher authored
    No matter which environment Gitlab was running as, the admin/logs view
    always showed production.log. This commit selects the logfile based
    on Rails.env.
    
    - Rename ProductionLogger to EnvironmentLogger
    - Make EnvironmentLogger logfile depend on env
    - Update spinach test for log tabs
    e900e53a
environment_logger.rb 120 Bytes