add log for debug
fixed the problem of 'make dist'