Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-6965

[RFE] Access logs to clearly state whether the access was successful or not

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • 6.2.12
    • Logging
    • None
    • None
    • None
    • None

      Description of problem:
      The access logs do not clearly show whether an access has been successful or not. The only difference between a failed and a successful attempt log is the redirect URL.

      2017-11-07 04:33:49 6439f4d2 [app] [I] Started POST "/users/login" for 188.165.236.215 at 2017-11-07 04:33:49 -0500
      2017-11-07 04:33:49 6439f4d2 [app] [I] Processing by UsersController#login as HTML
      2017-11-07 04:33:49 6439f4d2 [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"JXj1fJaHE/73qHOwTHDXT8AvV3omYP9traB29KWq9HU=", "login"=>

      {"login"=>"admin", "password"=>"[FILTERED]"}

      , "commit"=>"Accedi"}
      2017-11-07 04:33:49 6439f4d2 [app] [I] Redirected to https://satellite.fcarrus.it/users/login
      2017-11-07 04:33:49 6439f4d2 [app] [I] Completed 302 Found in 89ms (ActiveRecord: 50.9ms)
      2017-11-07 04:33:49 7538cdef [app] [I] Started GET "/users/login" for 188.165.236.215 at 2017-11-07 04:33:49 -0500
      2017-11-07 04:33:49 7538cdef [app] [I] Processing by UsersController#login as HTML
      2017-11-07 04:33:49 7538cdef [app] [I] Rendered users/login.html.erb within layouts/login (1.7ms)
      2017-11-07 04:33:49 7538cdef [app] [I] Rendered layouts/base.html.erb (1.1ms)
      2017-11-07 04:33:49 7538cdef [app] [I] Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.5ms)
      Version-Release number of selected component (if applicable):

      How reproducible:
      100%

      Steps to Reproduce:
      1. Execute a successful login
      2. Execute a failed login
      3. Compare logs

      Actual results:
      The only difference is the redirect URL

      Expected results:
      A line to clearly state whether the login was successful or not.

      Additional info:

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: