Take db and log paths from context