update daemon build script and log level