Skip to content

Commit

Permalink
update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
朱伟(zhuwei01)-技术产品中心 committed Jul 9, 2024
1 parent 7f74863 commit d4034b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config_files/autotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ global:
# 1. "info"
# 2. "debug"
# 3. "error"
level: "debug"
level: "info"
file_path: "/var/log/test/autotest.log"
report:
dir_path: "/var/log/test/report/"
Expand Down
1 change: 1 addition & 0 deletions internal/command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func RunTestCases(ctx context.Context, cmd *cli.Command) error {
// 3. initialize logger & RestyClient
slog.Info("3. Initialize logger&RestyClient")
loggerConfig := resource.GlobalConfig.Global.Logger
slog.Info("loggerConfig:FilePath:%v, level:%v", loggerConfig.FilePath, loggerConfig.Level)
zaplog.InitLogger(loggerConfig.FilePath, loggerConfig.Level)
resource.InitRestyClient(resource.GlobalConfig.Global.Debug)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const (
version = "v0.0.9"
version = "v0.0.10"
)

func main() {
Expand Down

0 comments on commit d4034b6

Please sign in to comment.