mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Format output to meet specification
Output is now printed out in Tor Directory Protocol Format, as specified in https://trac.torproject.org/projects/tor/ticket/21315#comment:19.
This commit is contained in:
parent
175b8efb04
commit
c782ebdcea
2 changed files with 12 additions and 8 deletions
|
@ -292,7 +292,7 @@ func main() {
|
|||
metricsFile = os.Stdout
|
||||
}
|
||||
|
||||
metricsLogger := log.New(metricsFile, "", log.LstdFlags|log.LUTC)
|
||||
metricsLogger := log.New(metricsFile, "", 0)
|
||||
|
||||
ctx := NewBrokerContext(metricsLogger)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue