add log function for emeralddb
 configure file & command-line arguments input