added option to control data truncation

new option `LOG_TRUNCATE_DATA` controls, whether data (queries and result data) should be truncated before being written into the log
this also solves issue #12