added advanced info to db logging