fix: Write agent logs to "/tmp/coder-agent.log" for debugging (#1239)

It was difficult to obtain logs for the agent if it failed to
start for some reason. Now they'll go to a consistent spot!
This commit is contained in:
Kyle Carberry
2022-05-02 16:36:51 +00:00
committed by GitHub
parent c2b5009208
commit e531c0930c
4 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -67,7 +67,6 @@ require (
github.com/golang-migrate/migrate/v4 v4.15.2
github.com/google/go-github/v43 v43.0.1-0.20220414155304-00e42332e405
github.com/google/uuid v1.3.0
github.com/hashicorp/go-syslog v1.0.0
github.com/hashicorp/go-version v1.4.0
github.com/hashicorp/hc-install v0.3.1
github.com/hashicorp/hcl/v2 v2.12.0
@@ -115,6 +114,7 @@ require (
google.golang.org/api v0.75.0
google.golang.org/protobuf v1.28.0
gopkg.in/DataDog/dd-trace-go.v1 v1.38.0
gopkg.in/natefinch/lumberjack.v2 v2.0.0
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
nhooyr.io/websocket v1.8.7
storj.io/drpc v0.0.30