Improved gubg/log