implement a crude log limiter

fixes #31