fixed ticket [4c0b70b70e] about compilation errors if WITHLOG conditional is not defined