Maisem Ali
486a423716
tsnet: split user facing and backend logging
...
This adds a new `UserLogf` field to the `Server` struct.
When set this any logs generated by Server are logged using
`UserLogf` and all spammy backend logs are logged to `Logf`.
If it `UserLogf` is unset, we default to `log.Printf` and
if `Logf` is unset we discard all the spammy logs.
Fixes #12094
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2024-05-10 15:29:13 -07:00
..
2023-01-27 15:36:29 -08:00
2023-12-07 20:57:31 -05:00
2024-04-16 15:32:38 -07:00
2023-12-15 09:29:42 -08:00
2024-05-10 16:32:37 +01:00
2024-05-03 08:24:24 -07:00
2024-04-02 12:48:07 -07:00
2024-04-22 17:43:28 -04:00
2024-02-07 18:10:15 -08:00
2024-02-09 10:55:59 -05:00
2024-02-02 15:48:31 -08:00
2024-05-02 17:29:46 +01:00
2024-05-10 16:32:37 +01:00
2023-03-01 15:45:12 -07:00
2023-08-03 13:00:45 -07:00
2023-02-18 05:21:05 +00:00
2023-01-27 15:36:29 -08:00
2024-04-16 15:32:38 -07:00
2023-03-13 08:44:25 -07:00
2024-05-10 15:29:13 -07:00
2023-02-11 17:57:36 +00:00
2024-04-16 15:32:38 -07:00
2024-05-10 15:29:13 -07:00
2023-01-27 15:36:29 -08:00
2023-08-23 23:53:19 +01:00
2023-01-27 15:36:29 -08:00
2024-04-17 10:24:31 -06:00
2023-08-24 15:42:35 -07:00
2024-05-09 09:02:23 -07:00
2024-05-07 21:27:06 -07:00
2024-04-16 15:32:38 -07:00
2024-02-21 13:08:17 -06:00
2024-04-26 12:03:11 -07:00
2024-05-10 15:29:13 -07:00
2023-01-27 15:36:29 -08:00
2024-04-16 15:32:38 -07:00