BUGFIX: x-log can be null.