MINOR: lua: Add flags to configure logging behaviour

Until now, messages printed from LUA log functions were sent both to
the any logger configured for the current proxy, and additionally to
stderr (in most cases)

This introduces two flags to configure LUA log handling:
- tune.lua.log.loggers to use standard loggers or not
- tune.lua.log.stderr to use stderr, or not, or only conditionally

This addresses github feature request #2316

This can be backported to 2.8 as it doesn't change previous behaviour.

(cherry picked from commit 97dacbbb86fa14b8c864c6e4616f55baf95c7e91)
[cf: logsrvs lists were renamed into loggers in 2.9. So "global.loggers" and
     "px->loggers" were changed accordingly for the backport]
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
4 files changed