Files
ocis/services/postprocessing/pkg/config/log.go
T
jkoberg e208a96430 Start PP service in single binary (configurable)
Start PP service in single binary (configurable)

Start PP service in single binary (configurable)

start pp service with single binary and make it configurable

Signed-off-by: jkoberg <jkoberg@owncloud.com>

implement delay step

Signed-off-by: jkoberg <jkoberg@owncloud.com>

deactivate functionality

Signed-off-by: jkoberg <jkoberg@owncloud.com>

configure tokensigning

Signed-off-by: jkoberg <jkoberg@owncloud.com>

deactivate async uploads

Signed-off-by: jkoberg <jkoberg@owncloud.com>

final touches

Signed-off-by: jkoberg <jkoberg@owncloud.com>

next bump of the reva

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-07-20 13:27:46 +02:00

10 lines
682 B
Go

package config
// Log defines the available log configuration.
type Log struct {
Level string `mapstructure:"level" env:"OCIS_LOG_LEVEL;POSTPROCESSING_LOG_LEVEL" desc:"The log level. Valid values are: \"panic\", \"fatal\", \"error\", \"warn\", \"info\", \"debug\", \"trace\"."`
Pretty bool `mapstructure:"pretty" env:"OCIS_LOG_PRETTY;POSTPROCESSING_LOG_PRETTY" desc:"Activates pretty log output."`
Color bool `mapstructure:"color" env:"OCIS_LOG_COLOR;POSTPROCESSING_LOG_COLOR" desc:"Activates colorized log output."`
File string `mapstructure:"file" env:"OCIS_LOG_FILE;POSTPROCESSING_LOG_FILE" desc:"The path to the log file. Activates logging to this file if set."`
}