add log function

* use `add()` instead of `all()` since it has problems with peeled tags
* see https://bugs.eclipse.org/bugs/show_bug.cgi?id=402025