bot: add log funtion

add new function to log every transaction
and add log_filename variable in config.php

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>