Only output logo if logging in text mode

This commit is contained in:
Tobie Morgan Hitchcock 2018-04-06 09:06:41 +01:00
parent fd0712398d
commit df049fe8f2

View file

@ -31,7 +31,7 @@ var startCmd = &cobra.Command{
Short: "Start the database and http server",
PreRun: func(cmd *cobra.Command, args []string) {
if opts.Logging.Output != "none" {
if opts.Logging.Output == "text" {
fmt.Print(logo)
}