app/log: improved log interface.