Improve -d debugging-log support.