1. 21 Jan, 2020 1 commit
    • Felix Lange's avatar
      log, internal/debug: delete RotatingFileHandler (#20586) · 31baf3a9
      Felix Lange authored
      * log: delete RotatingFileHandler
      
      We added this for the dashboard, which is gone now. The
      handler never really worked well and had data race and file
      handling issues.
      
      * internal/debug: remove unused RotatingFileHandler setup code
      31baf3a9
  2. 20 Jan, 2020 5 commits
  3. 19 Jan, 2020 4 commits
  4. 17 Jan, 2020 4 commits
  5. 16 Jan, 2020 5 commits
  6. 15 Jan, 2020 3 commits
  7. 14 Jan, 2020 3 commits
  8. 13 Jan, 2020 2 commits
  9. 10 Jan, 2020 3 commits
  10. 09 Jan, 2020 1 commit
  11. 08 Jan, 2020 3 commits
    • Felix Lange's avatar
      internal/testlog: print file+line number of log call in test log (#20528) · 0218d700
      Felix Lange authored
      * internal/testlog: print file+line number of log call in test log
      
      This changes the unit test logger to print the actual file and line
      number of the logging call instead of "testlog.go:44".
      
      Output of 'go test -v -run TestServerListen ./p2p' before this change:
      
          === RUN   TestServerListen
          --- PASS: TestServerListen (0.00s)
              testlog.go:44: DEBUG[01-08|15:16:31.651] UDP listener up         addr=127.0.0.1:62678
              testlog.go:44: DEBUG[01-08|15:16:31.651] TCP listener up         addr=127.0.0.1:62678
              testlog.go:44: TRACE[01-08|15:16:31.652] Accepted connection     addr=127.0.0.1:62679
      
      And after:
      
          === RUN   TestServerListen
          --- PASS: TestServerListen (0.00s)
              server.go:868: DEBUG[01-08|15:25:35.679] TCP listener up         addr=127.0.0.1:62712
              server.go:557: DEBUG[01-08|15:25:35.679] UDP listener up         addr=127.0.0.1:62712
              server.go:912: TRACE[01-08|15:25:35.680] Accepted connection     addr=127.0.0.1:62713
      
      * internal/testlog: document use of t.Helper
      0218d700
    • gary rong's avatar
      les: fix request serving metrics (#20507) · 4d663d57
      gary rong authored
      4d663d57
    • Felix Lange's avatar
      8a63f7f5
  12. 07 Jan, 2020 6 commits