diff options
author | Roger Dingledine <arma@torproject.org> | 2006-04-23 23:05:34 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-04-23 23:05:34 +0000 |
commit | c74c24a9893140094b790206a9c681f6fa8a8489 (patch) | |
tree | 321baf1d1ed3fa3b9b9747c508d98af5d9744ae8 /src/or/hibernate.c | |
parent | 9e2937374e1deea00dcf5877175307df795527c5 (diff) | |
download | tor-c74c24a9893140094b790206a9c681f6fa8a8489.tar.gz tor-c74c24a9893140094b790206a9c681f6fa8a8489.zip |
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
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index 1c734a96ea..da74e98dd2 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -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); } } |