Making log storage volatile (cross-thread problems).