1--TEST--
2FPM: bug68381 - Log messages with warning level only
3--SKIPIF--
4<?php
5include "skipif.inc";
6?>
7--FILE--
8<?php
9
10require_once "tester.inc";
11
12$cfg = <<<EOT
13[global]
14error_log = {{FILE:LOG}}
15log_level = warning
16[unconfined]
17listen = {{ADDR}}
18pm = dynamic
19pm.max_children = 5
20pm.start_servers = 2
21pm.min_spare_servers = 1
22pm.max_spare_servers = 3
23EOT;
24
25$tester = new FPM\Tester($cfg);
26$tester->start();
27$tester->checkConnection();
28$tester->terminate();
29$tester->expectNoLogMessages();
30$tester->close();
31
32?>
33Done
34--EXPECT--
35Done
36--CLEAN--
37<?php
38require_once "tester.inc";
39FPM\Tester::clean();
40?>
41