Daemon: more using function logging