Only output logo if logging in text mode
This commit is contained in:
parent
fd0712398d
commit
df049fe8f2
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ var startCmd = &cobra.Command{
|
||||||
Short: "Start the database and http server",
|
Short: "Start the database and http server",
|
||||||
PreRun: func(cmd *cobra.Command, args []string) {
|
PreRun: func(cmd *cobra.Command, args []string) {
|
||||||
|
|
||||||
if opts.Logging.Output != "none" {
|
if opts.Logging.Output == "text" {
|
||||||
fmt.Print(logo)
|
fmt.Print(logo)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue