mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 18:22:09 +01:00
make more hibernate log messages use local time. we should audit
to see what other log messages keep switching back and forth between GMT and local. svn:r6411
This commit is contained in:
parent
9e2937374e
commit
c74c24a989
@ -862,9 +862,10 @@ consider_hibernation(time_t now)
|
||||
"Bandwidth soft limit reached; commencing hibernation.");
|
||||
hibernate_begin(HIBERNATE_STATE_LOWBANDWIDTH, now);
|
||||
} else if (accounting_enabled && now < interval_wakeup_time) {
|
||||
format_iso_time(buf,interval_wakeup_time);
|
||||
format_local_iso_time(buf,interval_wakeup_time);
|
||||
log_notice(LD_ACCT,
|
||||
"Commencing hibernation. We will wake up at %s GMT", buf);
|
||||
"Commencing hibernation. We will wake up at %s local time.",
|
||||
buf);
|
||||
hibernate_go_dormant(now);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user