SSH Logs

92 views
Skip to first unread message

kalp shah

unread,
Mar 5, 2025, 5:59:35 PMMar 5
to Repo and Gerrit Discussion
Hi ,

I'm looking for options to enable branch level information for ssh operations git clone and git push in sshd_logs in json format.

can someone please provide changes need to be done in (gerrit.config) 

[log]
  jsonLogging = true

Above enabled sshd_logs.json but it doesn't include BRANCH level information

Thanks,
KP

Matthias Sohn

unread,
Mar 6, 2025, 10:01:04 AMMar 6
to kalp shah, Repo and Gerrit Discussion
On Wed, Mar 5, 2025 at 11:59 PM kalp shah <kalps...@gmail.com> wrote:
Hi ,

I'm looking for options to enable branch level information for ssh operations git clone and git push in sshd_logs in json format.

There is no branch level information logged for clone (git-upload-pack) and push (git-receive-pack) requests sent via ssh.
Enabling json log format renders the same data in a json format which is easier to parse.

-Matthias
 
can someone please provide changes need to be done in (gerrit.config) 

[log]
  jsonLogging = true

Above enabled sshd_logs.json but it doesn't include BRANCH level information

Thanks,
KP

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/4cebf1eb-9cae-445f-aa18-d9aea37e4769n%40googlegroups.com.

kalp shah

unread,
Mar 7, 2025, 1:59:57 PMMar 7
to Matthias Sohn, Repo and Gerrit Discussion
Thank you Matthias.


Reply all
Reply to author
Forward
0 new messages