Skip to content

Commit

Permalink
set info log level for parse requests (#328)
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Smirnov <[email protected]>
  • Loading branch information
Denys Smirnov authored and kuba-- committed Oct 29, 2019
1 parent ccbcd3d commit 7f9598f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daemon/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (s *ServiceV2) logResponse(err error, filename, language, content string, e
if err != nil {
l.Errorf(err, "%s", text)
} else {
l.Debugf("%s", text)
l.Infof("%s", text)
}
}

Expand Down Expand Up @@ -351,7 +351,7 @@ func (d *Service) logResponse(s protocol1.Status, filename, language, content st

switch s {
case protocol1.Ok:
l.Debugf("%s", text)
l.Infof("%s", text)
case protocol1.Error:
l.Warningf("%s", text)
case protocol1.Fatal:
Expand Down

0 comments on commit 7f9598f

Please sign in to comment.