add printf for deamon process

print to console, can't use on you linux machine