
22 May
2005
22 May
'05
4:03 a.m.
3) Log "rolling" is critical. In a "normal" runtime scenario very few messages are sent to the log - but when something does go wrong a history of "aw shucks" messages can be very helpful. Since the first thing a client will do when a problems occurs is restart the app...overwriting the log will not do. Having the startup script move the log to a new name is a possibility, but less than desirable.
Note that in the latest version, there's log rolling as well, thanks to Caleb Epstein! Best, John -- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/ -v1.6.3 (Resource Splitter) -- http://www.torjo.com/cb/ - Click, Build, Run!