mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Have proxy-go log in UTC.
This commit is contained in:
parent
b0dbf47473
commit
bfea72b50e
1 changed files with 1 additions and 0 deletions
|
@ -305,6 +305,7 @@ func main() {
|
|||
flag.StringVar(&logFilename, "log", "", "log filename")
|
||||
flag.Parse()
|
||||
|
||||
log.SetFlags(log.LstdFlags | log.LUTC)
|
||||
if logFilename != "" {
|
||||
f, err := os.OpenFile(logFilename, os.O_CREATE | os.O_WRONLY | os.O_APPEND, 0600)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue