Revert "Let suture logging bubble upwards"

This reverts commit 1b837116e6.
This commit is contained in:
Jakob Borg
2015-07-11 11:12:20 +10:00
parent 1b837116e6
commit a04b005e93
7 changed files with 31 additions and 50 deletions

View File

@@ -425,9 +425,7 @@ func upgradeViaRest() error {
func syncthingMain() {
// Create a main service manager. We'll add things to this as we go along.
// We want any logging it does to go through our log system. Other
// suture.Supervisor:s that are Add()ed to mainSvc will inherit this log
// function.
// We want any logging it does to go through our log system.
mainSvc := suture.New("main", suture.Spec{
Log: func(line string) {
if debugSuture {