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:
Roger Dingledine 2006-04-23 23:05:34 +00:00
parent 9e2937374e
commit c74c24a989

View File

@ -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);
}
}