Expose logging mutex
Fix typo