add save_log_to_db.py

Change-Id: Icee45b5ae62435aca5a5ee8df4f5f46fc1ecc536
Signed-off-by: mzfa <mzfa@mzfa-Ubuntu-1404LTS>