agent: log signal, fix config file