Skip to content

Commit c0ba624

Browse files
lzapbcl
authored andcommitted
main: enable images olog
Logger in images can be turned on now.
1 parent b9cd20a commit c0ba624

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/image-builder/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
"github.com/osbuild/images/pkg/distro/generic"
2424
"github.com/osbuild/images/pkg/imagefilter"
2525
"github.com/osbuild/images/pkg/manifestgen"
26+
ilog "github.com/osbuild/images/pkg/olog"
2627
"github.com/osbuild/images/pkg/osbuild"
2728
"github.com/osbuild/images/pkg/ostree"
2829

@@ -682,8 +683,7 @@ operating systems like Fedora, CentOS and RHEL with easy customizations support.
682683
}
683684
if verbose {
684685
olog.SetDefault(log.New(os.Stderr, "", 0))
685-
// XXX: add once images has olog support
686-
//images_log.SetDefault(log.New(os.Stderr, "", 0))
686+
ilog.SetDefault(log.New(os.Stderr, "", 0))
687687
}
688688

689689
return rootCmd.Execute()

0 commit comments

Comments
 (0)