smarter logging
1.2.1