BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
2e76c604
Commit
2e76c604
authored
Oct 03, 2017
by
Jacob Vosmaer (GitLab)
Committed by
Rémy Coutable
Oct 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add grpc.log for Gitaly
parent
ae9dd4b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
grpc.rb
config/initializers/grpc.rb
+11
-0
index.md
doc/administration/gitaly/index.md
+8
-0
No files found.
config/initializers/grpc.rb
0 → 100644
View file @
2e76c604
require
'logger'
GRPC_LOGGER
=
Logger
.
new
(
Rails
.
root
.
join
(
'log/grpc.log'
))
GRPC_LOGGER
.
level
=
ENV
[
'GRPC_LOG_LEVEL'
].
presence
||
'WARN'
GRPC_LOGGER
.
progname
=
'GRPC'
module
GRPC
def
self
.
logger
GRPC_LOGGER
end
end
doc/administration/gitaly/index.md
View file @
2e76c604
...
...
@@ -32,6 +32,14 @@ prometheus_listen_addr = "localhost:9236"
Changes to
`/home/git/gitaly/config.toml`
are applied when you run
`service
gitlab restart`
.
## Client-side GRPC logs
Gitaly uses the
[
gRPC
](
https://grpc.io/
)
RPC framework. The Ruby gRPC
client has its own log file which may contain useful information when
you are seeing Gitaly errors. You can control the log level of the
gRPC client with the
`GRPC_LOG_LEVEL`
environment variable. The
default level is
`WARN`
.
## Running Gitaly on its own server
> This is an optional way to deploy Gitaly which can benefit GitLab
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment