use getopt for client
use getopt for server
Implement new log function
Different log display for different log level
Use new log functions
Do not log false libconfig alarm when file simply doesn't exist yet