MINOR: lua: change tune.lua.log.stderr default from 'on' to 'auto'
authorTristan <tristan@mangadex.org>
Mon, 23 Oct 2023 12:35:40 +0000 (13:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 25 Oct 2023 05:49:03 +0000 (07:49 +0200)
commit8da0e45382feb74c39492c7d066f1b445d03ec73
tree996161a3a916fbb0cd2378d5de4780050a8bd9ea
parent97dacbbb86fa14b8c864c6e4616f55baf95c7e91
MINOR: lua: change tune.lua.log.stderr default from 'on' to 'auto'

After making it configurable in previous commit "MINOR: lua: Add flags
to configure logging behaviour", this patch changes the default value
of tune.lua.log.stderr from 'on' (unconditionally forward LUA logs to
stderr) to 'auto' (only forward LUA logs to stderr if logging via a
standard logger is disabled, or none is configured for the current context)

Since this is a change in behaviour, it shouldn't be backported
doc/configuration.txt
doc/lua-api/index.rst
doc/lua.txt
src/hlua.c