Home Contact Buy
Sitemap Contact
Home Time Tracker Consulting Download Video Free Buy Sitemap Contact

How to Enable Logging

World Clock version 6.0.0.4881 and above will output debug information to a separately running logger.exe application, assuming you have log.dll in the system, and logger.exe running. Release versions of World Clock are not distributed with log.dll or logger.exe.

If you need to investigate a program crash or another problem, feel free to request these components. To see debug output:
  • Put log.dll in program install directory.
  • Run logger.exe.
  • Restart World Clock. Debug information should now be displayed by the logger app. If you need to see debug info from the Time Synchronization service, restart it too.

World Clock versions between 5.8.1.4612 - 6.0.0.4880 used a registry value to determine whether to log to a file as described below. To enable logging of debug information in these versions create the following DWORD registry value:
HKLM\SOFTWARE\Anuko\World Clock\logging
Set it to 1 to enable logging. Restart World Clock for your change to take effect. When logging is enabled, the program will display the following warning on start.

World Clock logging warning
World Clock logging warning


The log file is named world_clock.log and is located in user's Temp directory. For example, on Windows 7, it may resolve to C:\Users\username\AppData\Local\Temp\world_clock.log. Here is an example content of such file:

09:24:37.590 0x00001114:0x000010EC world_clock.exe: world_clock.exe 5.8.1.4613 starting in C:\Program Files\Anuko\World Clock\
09:24:37.590 0x00001114:0x000010EC world_clock.exe: FULL VERSION
09:24:38.968 0x00001114:0x000010EC world_clock.exe: WM_CREATE handler...
09:24:38.968 0x00001114:0x000010EC world_clock.exe: hook.cpp HookStart() Installing hook procedure on taskbar message processing thread...
09:24:38.968 0x00001114:0x000010EC world_clock.exe: hook.cpp HookStart() PostMessage(g_hwndTaskbar, WM_SIZE, SIZE_RESTORED, 0);
09:24:38.998 0x00001114:0x000010EC world_clock.exe: main.cpp WndProc AWC_TRAYCLOCK_HWND handler...
09:24:39.012 0x00001114:0x000010EC world_clock.exe: main.cpp PassConfigToHook - SendMessage WM_COPYDATA g_IniData to hook...
09:24:39.013 0x00000D1C:0x00001034 Explorer.EXE: wndproc.cpp WndProcTaskbarClock() WM_COPYDATA handler...
09:24:39.019 0x00001114:0x000010EC world_clock.exe: main.cpp PassConfigToHook - SendMessage WM_COPYDATA g_IniData to hook RETURNED
09:24:39.019 0x00001114:0x000010EC world_clock.exe: main.cpp PassConfigToHook - SendMessage WM_COPYDATA g_Cities to hook...


World Clock FAQ