Expose queue size in the logger