Fixed trace level for log_to
Forgot use
Merge pull request #2 from xaicron/master

Fixed some problems