some logging extensions