Skip to content

Add Loglevel configuration for gitlab-sshd implementation of gitlab-shell

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Description

Hello, when using the gitlab-sshd implementation of gitlab-shell there is no possibility to set the loglevel to e.g. WARN or ERROR. This is only possible when using the default implementation for gitlab-shell (OpenSSH). However only gitlab-sshd provides the option of exposing metrics. In our case setting the log level is necessary because the gitlab-shell pod logs on average per day 20 million log entries. We can workaround this by filtering logs at the Logging API, but this is a rather coarse grained measure.

Proposal

Please enable the possibility of setting a certain log level of the gitlab-sshd implementation.

Edited by 🤖 GitLab Bot 🤖