Difference between revisions of "GitLab logs"
Jump to navigation
Jump to search
(41 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | * <code>/var/log/gitlab/gitlab-rails/[[ | + | Official documentation: https://docs.gitlab.com/ee/administration/logs.html |
− | * <code>/var/log/gitlab/gitlab-rails/[[ | + | |
− | * <code>/var/log/gitlab/gitlab-rails/[[migrations.log]]</code> | + | |
− | * <code>/var/log/gitlab/gitlab-rails/[[importer.log]]</code> | + | * <code>[[/var/log/gitlab/gitlab-rails/production.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/migrations.log]]</code> (empty file) | ||
+ | * <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/[[importer.log]]</code> (empty file) | ||
* <code>/var/log/gitlab/gitlab-rails/[[grpc.log]]</code> | * <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/error.log]]</code> | ||
− | * <code>[[ | + | * <code>/var/log/gitlab/[[nginx]]/[[gitlab_error.log]]</code> (Connection refused) |
+ | * <code>[[/var/log/gitlab/sidekiq/current]]</code> | ||
− | + | * <code>/var/log/gitlab/[[postgresql]]/current</code> | |
== Related terms == | == Related terms == | ||
* <code>[[gitlab-ctl status]]</code> | * <code>[[gitlab-ctl status]]</code> | ||
+ | * <code>[[gitlab-ctl tail]]</code> | ||
+ | * <code>[[/etc/gitlab/gitlab.rb]]</code> | ||
+ | * [[Upgrade GitLab]] | ||
== See also == | == See also == | ||
* {{GitLab troubleshooting}} | * {{GitLab troubleshooting}} | ||
− | * {{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: