Difference between revisions of "GitLab logs"
Jump to navigation
Jump to search
(12 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-rails/[[ | + | * <code>cat [[/var/log/gitlab/gitlab-shell/gitlab-shell.log]] | [[jq .]]</code> |
− | * <code>cat /var/log/gitlab/gitlab- | ||
+ | * <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/migrations.log]]</code> (empty file) | * <code>[[/var/log/gitlab/gitlab-rails/migrations.log]]</code> (empty file) | ||
− | * <code>cat /var/log/gitlab/gitlab-rails/[[git_json.log]] | jq</code> | + | * <code>cat [[/var/log/gitlab/gitlab-rails/audit_json.log]] | jq .</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/[[importer.log]]</code> (empty file) | * <code>/var/log/gitlab/gitlab-rails/[[importer.log]]</code> (empty file) | ||
Line 21: | Line 21: | ||
* <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/error.log]]</code> | * <code>[[/var/log/gitlab/gitlab-rails/error.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/sidekiq/current]]</code> | * <code>[[/var/log/gitlab/sidekiq/current]]</code> | ||
* <code>/var/log/gitlab/[[postgresql]]/current</code> | * <code>/var/log/gitlab/[[postgresql]]/current</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 45: | 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
/var/log/gitlab/gitlab-rails/production.log
/var/log/gitlab/gitlab-rails/application.log
andapplication_json.log
(Since GitLab 12.7, Jan 2020)cat /var/log/gitlab/gitlab-rails/sidekiq_client.log | jq .
/var/log/gitlab/nginx/gitlab_access.log
cat /var/log/gitlab/gitlab-shell/gitlab-shell.log | jq .
cat /var/log/gitlab/gitlab-rails/api_json.log | jq .
cat /var/log/gitlab/gitlab-rails/graphql_json.log | jq .
/var/log/gitlab/gitlab-rails/migrations.log
(empty file)cat /var/log/gitlab/gitlab-rails/audit_json.log | jq .
cat /var/log/gitlab/gitlab-rails/git_json.log | jq .
/var/log/gitlab/gitlab-rails/exceptions_json.log
/var/log/gitlab/gitlab-rails/importer.log
(empty file)/var/log/gitlab/gitlab-rails/grpc.log
/var/log/gitlab/gitlab-rails/sidekiq.log
/var/log/gitlab/gitlab-rails/sidekiq_exporter.log
/var/log/gitlab/nginx/gitlab_error.log
(Connection refused)
/var/log/gitlab/postgresql/current
Related terms[edit]
See also[edit]
Advertising: