mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 21:33:22 +01:00
Default log level info
This commit is contained in:
@@ -7,7 +7,7 @@ type Cli struct {
|
|||||||
Version kong.VersionFlag
|
Version kong.VersionFlag
|
||||||
Cfgfile string `kong:"required,name='config',env='CONFIG',help='Diun configuration file.'"`
|
Cfgfile string `kong:"required,name='config',env='CONFIG',help='Diun configuration file.'"`
|
||||||
Timezone string `kong:"name='timezone',env='TZ',default='UTC',help='Timezone assigned to Diun.'"`
|
Timezone string `kong:"name='timezone',env='TZ',default='UTC',help='Timezone assigned to Diun.'"`
|
||||||
LogLevel string `kong:"name='log-level',env='LOG_LEVEL',default='debug',help='Set log level.'"`
|
LogLevel string `kong:"name='log-level',env='LOG_LEVEL',default='info',help='Set log level.'"`
|
||||||
LogJSON bool `kong:"name='log-json',env='LOG_JSON',default='false',help='Enable JSON logging output.'"`
|
LogJSON bool `kong:"name='log-json',env='LOG_JSON',default='false',help='Enable JSON logging output.'"`
|
||||||
LogCaller bool `kong:"name='log-caller',env='LOG_CALLER',default='false',help='Add file:line of the caller to log output.'"`
|
LogCaller bool `kong:"name='log-caller',env='LOG_CALLER',default='false',help='Add file:line of the caller to log output.'"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user