# [PATCH] fpm/bug: handle custom log_level when not daemonized

- Thread: https://externals.io/message/46404
- Original archive: https://news-web.php.net/php.internals/46404
- Started by jerome@loyet.net on 2009-12-13T16:19:19+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #46404 — jerome@loyet.net — 2009-12-13T16:19:19+00:00

URL: https://externals.io/message/46404#46404

Hi tony,

There is a small bug when fpm is not daemonized. In this case, the
log_level is not set and the default (notice) is used. When the
damonize option is used, it works well.

The patch attached corrects it.

Hope it helps
++ Jerome

---

## #46406 — jerome@loyet.net — 2009-12-13T17:18:56+00:00

URL: https://externals.io/message/46404#46406 · In reply to: #46404

Le 13 décembre 2009 17:19, Jérôme Loyet <jerome@loyet.net> a écrit :
> Hi tony,
>
> There is a small bug when fpm is not daemonized. In this case, the
> log_level is not set and the default (notice) is used. When the
> damonize option is used, it works well.
>
> The patch attached corrects it.

With the correct version of the patch (.txt extension).

>
> Hope it helps
> ++ Jerome
