@sueloverso, the function __wt_log_extract_lognum returns 0 and doesn't set the return id if passed a NULL id or name argument, but the callers of that function will go ahead and use the (garbage) returned id in those cases.
If you agree, maybe __wt_log_extract_lognum should fail if id or name are NULL?