Fix logging

Change-Id: I7f7a351e99e53fb496542216bde30d513f73b945
NEW: methods to insert parameter values in the DB

Change-Id: I704097a172987515303e6fc46072adbb5f226262