--TEST-- FPM: GH-8885 - access.log with stderr begins to write logs to error_log after reloading logs --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->reloadLogs(); $tester->switchLogSource('{{FILE:LOG}}'); $tester->expectLogReloadingLogsNotices(); $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--