Adding runid in logdb
Small fixups