db: support absolute log files

Change-Id: Ife150c0d965fbadd47bd4291d5e9d62eeaa25f63
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>