mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-31 03:18:43 -06:00
Moved hardcoded TRACE loglevel from app code into test code
This commit is contained in:
@@ -60,10 +60,6 @@ func newDoltBinlogReplicaController() *doltBinlogReplicaController {
|
||||
controller.status.ReplicaIoRunning = binlogreplication.ReplicaIoNotRunning
|
||||
controller.status.ReplicaSqlRunning = binlogreplication.ReplicaSqlNotRunning
|
||||
controller.applier = newBinlogReplicaApplier(controller.filters)
|
||||
|
||||
// TODO: Set the log level in the tests; don't just hardcode it here
|
||||
logger.SetLevel(logrus.TraceLevel)
|
||||
|
||||
return &controller
|
||||
}
|
||||
|
||||
|
||||
@@ -393,7 +393,7 @@ func startDoltSqlServer(dir string) (int, *os.Process, error) {
|
||||
cmd := exec.Command("go", "run", "./cmd/dolt",
|
||||
"sql-server",
|
||||
"-uroot",
|
||||
"--loglevel=DEBUG",
|
||||
"--loglevel=TRACE",
|
||||
fmt.Sprintf("--data-dir=%s", dir),
|
||||
fmt.Sprintf("--port=%v", doltPort),
|
||||
fmt.Sprintf("--socket=dolt.%v.sock", doltPort))
|
||||
|
||||
Reference in New Issue
Block a user