On Sun, Jun 27, 2010 at 11:13:47PM +0100, rh...@hushmail.com wrote:
| Hi,
| 
| Not sure if this is expected behavior, but I recently decided to 
| switch to UTC on a OpenBSD 4.7 box that happened to have BGPD 
| running.
| 
| Re-linked localtime and ran rdate.

A process will only read this file once during its runtime. To ensure
everybody sees the new TZ, simply reboot your machine.

| Noticed in the logs that BGPD was still logging away under the old 
| time setup and needed to be killed and restarted to take effect.
| 
| Perhaps someone could explain to a newbie such as me as to why this 
| logging behavior would be a Good Thing (TM) ?   

It's a good thing because you don't want to read a file each and every
time you do something with dates or times in your program (eg when
timestamping a logentry).

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                http://www.undeadly.org/                 

Reply via email to