diff options
Diffstat (limited to 'internal/command')
-rw-r--r-- | internal/command/shared/commandlogger/commandlogger.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/command/shared/commandlogger/commandlogger.go b/internal/command/shared/commandlogger/commandlogger.go index 017eb11..cc357eb 100644 --- a/internal/command/shared/commandlogger/commandlogger.go +++ b/internal/command/shared/commandlogger/commandlogger.go @@ -9,11 +9,11 @@ import ( func Log(command string, repository *pb.Repository, response *accessverifier.Response, protocol string) { fields := log.Fields{ "command": command, - "glProjectPath": repository.GlProjectPath, - "glRepository": repository.GlRepository, - "userId": response.UserId, - "userName": response.Username, - "gitProtocol": protocol, + "gl_project_path": repository.GlProjectPath, + "gl_repository": repository.GlRepository, + "user_id": response.UserId, + "username": response.Username, + "git_protocol": protocol, } log.WithFields(fields).Info("executing git command") |