logger

package
v14.46.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package logger provides logging configuration utilities for the gitlab-shell

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(cfg *config.Config) io.Closer

Configure configures the logging singleton for operation inside a remote TTY (like SSH). In this mode an empty LogFile is not accepted and syslog is used as a fallback when LogFile could not be opened for writing.

func ConfigureLogger added in v14.46.0

func ConfigureLogger(cfg *config.Config) io.Closer

ConfigureLogger - gitlab-sshd's log output can be configured to text as per the documentation: https://docs.gitlab.com/omnibus/settings/logs/#json-logging This is currently controlled by the GITLAB_LOG_FORMAT environment variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL