chore: Logging level to info
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
5bbe5cedfe
commit
e84340df2c
1 changed files with 5 additions and 0 deletions
5
main.go
5
main.go
|
|
@ -6,12 +6,17 @@ import (
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/rs/zerolog"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
var currentConfig config
|
var currentConfig config
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
zerolog.SetGlobalLevel(zerolog.InfoLevel)
|
||||||
|
|
||||||
|
log.Info().Msg("Start")
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
currentConfig, err = ReadFromFile("config.yml")
|
currentConfig, err = ReadFromFile("config.yml")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue