add a log at signal gc