--TEST-- FPM: GH-8885 - access.log with stderr begins to write logs to error_log after daemon reload --SKIPIF-- --FILE-- start(forceStderr: false); $tester->expectNoLogMessages(); $tester->switchLogSource('{{FILE:LOG}}'); $tester->expectLogStartNotices(); $tester->ping(); $tester->switchLogSource('{{MASTER:OUT}}'); $tester->expectLogPattern('/127.0.0.1 .* "GET \/ping" 200/'); $tester->reload(); $tester->switchLogSource('{{FILE:LOG}}'); $tester->expectLogReloadingNotices(); $tester->ping(); $tester->switchLogSource('{{MASTER:OUT}}'); $tester->expectLogPattern('/127.0.0.1 .* "GET \/ping" 200/'); $tester->switchLogSource('{{FILE:LOG}}'); $tester->terminate(); $tester->expectLogTerminatingNotices(); $tester->switchLogSource('{{MASTER:OUT}}'); $tester->expectNoLogMessages(); $tester->close(); ?> Done --EXPECT-- Done --CLEAN--