Fix table option compare
Add log-file option