      /*      * Copy ngx_cycle->log related data to the special static exit cycle,      * log, and log file structures enough to allow a signal handler to log.      * The handler may be called when standard ngx_cycle->log allocated from      * ngx_cycle->pool is already destroyed.      */      ngx_exit_log = *ngx_log_get_file_log(ngx_cycle->log);      ngx_exit_log_file.fd = ngx_exit_log.file->fd;     ngx_exit_log.file = &ngx_exit_log_file;     ngx_exit_log.next = NULL;     ngx_exit_log.writer = NULL;      ngx_exit_cycle.log = &ngx_exit_log;     ngx_exit_cycle.files = ngx_cycle->files;     ngx_exit_cycle.files_n = ngx_cycle->files_n;     ngx_cycle = &ngx_exit_cycle;      ngx_destroy_pool(cycle->pool);      