Commit a58c3506 authored by Cristian Maglie's avatar Cristian Maglie

Disable logging until it is setup in the arduino-cli pre-run

parent 7658db6d
...@@ -18,6 +18,7 @@ package main ...@@ -18,6 +18,7 @@ package main
import ( import (
"context" "context"
"fmt" "fmt"
"io"
"os" "os"
"github.com/arduino/arduino-cli/commands" "github.com/arduino/arduino-cli/commands"
...@@ -28,9 +29,13 @@ import ( ...@@ -28,9 +29,13 @@ import (
"github.com/arduino/arduino-cli/internal/i18n" "github.com/arduino/arduino-cli/internal/i18n"
rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1" rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1"
"github.com/arduino/go-paths-helper" "github.com/arduino/go-paths-helper"
"github.com/sirupsen/logrus"
) )
func main() { func main() {
// Disable logging until it is setup in the arduino-cli pre-run
logrus.SetOutput(io.Discard)
// Create a new ArduinoCoreServer // Create a new ArduinoCoreServer
srv := commands.NewArduinoCoreServer() srv := commands.NewArduinoCoreServer()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment