Difference between revisions of "GitLab logs"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
* <code>[[/var/log/gitlab/gitlab-rails/production.log]]</code>
 
* <code>[[/var/log/gitlab/gitlab-rails/production.log]]</code>
* <code>[[/var/log/gitlab/gitlab-rails/application.log]]</code>
+
* <code>[[/var/log/gitlab/gitlab-rails/application.log]]</code> and <code>application_json.log</code> (Since [[GitLab 12.7]], Jan 2020)
 +
* <code>cat /var/log/gitlab/gitlab-rails/[[sidekiq_client.log]] | [[jq .]]</code>
 +
* <code>/var/log/gitlab/nginx/[[gitlab_access.log]]</code>
 +
* <code>cat [[/var/log/gitlab/gitlab-shell/gitlab-shell.log]] | [[jq .]]</code>
 +
 
  
 +
* <code>cat /var/log/gitlab/gitlab-rails/[[api_json.log]] | jq .</code>
 +
* <code>cat /var/log/gitlab/gitlab-rails/[[graphql_json.log]] | [[jq]] .</code>
  
* <code>/var/log/gitlab/gitlab-rails/[[grpc.log]]</code>
+
* <code>[[/var/log/gitlab/gitlab-rails/migrations.log]]</code> (empty file)
* <code>/var/log/gitlab/gitlab-rails/[[graphql_json.log]]</code>
+
* <code>cat [[/var/log/gitlab/gitlab-rails/audit_json.log]] | jq .</code>
* <code>/var/log/gitlab/gitlab-rails/[[git_json.log]]</code>
+
* <code>cat /var/log/gitlab/gitlab-rails/[[git_json.log]] | jq .</code>
 
* <code>/var/log/gitlab/gitlab-rails/[[exceptions_json.log]]</code>
 
* <code>/var/log/gitlab/gitlab-rails/[[exceptions_json.log]]</code>
* <code>/var/log/gitlab/gitlab-rails/[[api_json.log]]</code>
 
* <code>[[/var/log/gitlab/gitlab-rails/audit_json.log]]</code>
 
</code>
 
* <code>[[/var/log/gitlab/gitlab-rails/migrations.log]]</code> (empty file)
 
 
* <code>/var/log/gitlab/gitlab-rails/[[importer.log]]</code> (empty file)
 
* <code>/var/log/gitlab/gitlab-rails/[[importer.log]]</code> (empty file)
 +
* <code>/var/log/gitlab/gitlab-rails/[[grpc.log]]</code>
 +
 
* <code>/var/log/gitlab/gitlab-rails/[[sidekiq.log]]</code>
 
* <code>/var/log/gitlab/gitlab-rails/[[sidekiq.log]]</code>
 
* <code>/var/log/gitlab/gitlab-rails/[[sidekiq_exporter.log]]</code>
 
* <code>/var/log/gitlab/gitlab-rails/[[sidekiq_exporter.log]]</code>
* <code>/var/log/gitlab/gitlab-rails/[[sidekiq_client.log]]</code>
+
 
 
* <code>[[/var/log/gitlab/gitlab-rails/error.log]]</code>
 
* <code>[[/var/log/gitlab/gitlab-rails/error.log]]</code>
  
  
* <code>/var/log/gitlab/nginx/[[gitlab_access.log]]</code>
 
 
* <code>/var/log/gitlab/[[nginx]]/[[gitlab_error.log]]</code> (Connection refused)
 
* <code>/var/log/gitlab/[[nginx]]/[[gitlab_error.log]]</code> (Connection refused)
 
 
* <code>/var/log/gitlab/gitlab-shell/[[gitlab-shell.log]]</code>
 
  
 
* <code>[[/var/log/gitlab/sidekiq/current]]</code>
 
* <code>[[/var/log/gitlab/sidekiq/current]]</code>
  
 
* <code>/var/log/gitlab/[[postgresql]]/current</code>
 
* <code>/var/log/gitlab/[[postgresql]]/current</code>
 
* <code>[[application.log]]</code> and <code>application_json.log</code> (Since [[GitLab 12.7]], Jan 2020)
 
 
 
{"method":"POST","url":"http://127.0.0.1:8080/api/v4/internal/allowed","code":"401","body":"{\"status\":false,\"message\":\"\\nA [[default branch]] (e.g. master) does not yet exist for XXXXXX\\nAsk a [[project Owner]] or [[Maintainer]] to create a [[default branch]]:\\n\\n  https://XXXX/YYYYY/ZZZZ/-/project_members\\n\\n\"}","pid":3863,"level":"error","msg":"Call failed","time":"2018-06-01T08:57:24+00:00"}
 
  
  
Line 41: Line 36:
 
* <code>[[gitlab-ctl tail]]</code>
 
* <code>[[gitlab-ctl tail]]</code>
 
* <code>[[/etc/gitlab/gitlab.rb]]</code>
 
* <code>[[/etc/gitlab/gitlab.rb]]</code>
 +
* [[Upgrade GitLab]]
  
 
== See also ==
 
== See also ==
 
* {{GitLab troubleshooting}}
 
* {{GitLab troubleshooting}}
 
* {{Upgrade GitLab}}
 
* {{Upgrade GitLab}}
 
  
 
[[Category:GitLab]]
 
[[Category:GitLab]]

Latest revision as of 14:39, 13 December 2022

Official documentation: https://docs.gitlab.com/ee/administration/logs.html





Related terms[edit]

See also[edit]

Advertising: