summaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-04-23 23:05:34 +0000
committerRoger Dingledine <arma@torproject.org>2006-04-23 23:05:34 +0000
commitc74c24a9893140094b790206a9c681f6fa8a8489 (patch)
tree321baf1d1ed3fa3b9b9747c508d98af5d9744ae8 /src/or/hibernate.c
parent9e2937374e1deea00dcf5877175307df795527c5 (diff)
downloadtor-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.c5
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);
}
}