cleanup 17

add *.log to gitignore
use cout in export() not in export3()