How to use Logbook handler?

Thank you! It works!
However I found a new problem. Sometimes the log item is just an info, not an error. But the handler recorded it with stacktrace like it was an error, which I think is unnecessary. Can I disable sending stacktrace?