Created attachment 34127 [details] Add log message when apr_file_open_stdin/apr_file_open_stdout fails Function apr_file_open_stdin/apr_file_open_stdout may fail. The majority of calls have checked the return value and printed log message like the following code snippet, while the others have not. Those unchecked ones probably need logs too (see attachment). /* httpd-2.4.10/support/rotatelogs.c:625:9 */ if (apr_file_open_stdin(&f_stdin, status.pool) != APR_SUCCESS) { fprintf(stderr, "Unable to open stdin\n"); exit(1); } if (apr_file_open_stdout(&f_stdout, status.pool) != APR_SUCCESS) { fprintf(stderr, "Unable to open stdout\n"); exit(1); }