log original exception if available
Merge pull request #193 from bitzesty/sync-exceptions

log original exception if available
log sql queries by day on sync
do not use transactions on sync process
use separate log files for each update type
ensure we unsubscribe from sql queries

so we don't log repeatedly each query
capture exception message on sync failure