humanlogio / humanlog

Logs for humans to read.
Apache License 2.0
744 stars 52 forks source link

add log data for benchmarking #127

Closed KevRiver closed 3 days ago

KevRiver commented 6 days ago

@aybabtme golangci-lint on Windows fails with timeout while loading go/packages. IMO, we can try to pass the cmd line argument --timeout N(as shown in error message) to golangci-lint so that its package load time could be ensured.

Running [D:\a\_temp\3e304b95-f6d4-4d10-92d4-4b129990b036\golangci-lint-1.60.3-windows-amd64\golangci-lint run  --fast] in [D:\a\humanlog\humanlog] ...
  level=error msg="Running error: context loading failed: failed to load packages: failed to load packages: failed to load with go/packages: err: context deadline exceeded: stderr: "
  level=error msg="Timeout exceeded: try increasing it by passing --timeout option"
aybabtme commented 5 days ago

@KevRiver if you rebase, you'll pick up this change https://github.com/humanlogio/humanlog/commit/a054e079b92331c065bbb639725e95a4ef7dc496

aybabtme commented 4 days ago

My mistake, the timeout indeed needs to be lengthened. This is quite annoying, sorry.