say: enable json log format with syslog
All the heavy lifting was done in the previous commit that dropped the syslog formatter. This commit just removes the checks that forbid using syslog with json. Closes #7860 @TarantoolBot document Title: JSON log format can now be used with syslog The configuration reference says that syslog is incompatible with the JSON log format: https://www.tarantool.io/en/doc/latest/reference/configuration/#confval-log_format This isn't true anymore. If JSON is used with syslog, then a JSON message body is appended to the syslog header. See https://github.com/tarantool/tarantool/issues/7860.
Showing
- changelogs/unreleased/gh-7860-syslog-json.md 3 additions, 0 deletionschangelogs/unreleased/gh-7860-syslog-json.md
- src/box/box.cc 0 additions, 5 deletionssrc/box/box.cc
- src/lib/core/say.c 0 additions, 10 deletionssrc/lib/core/say.c
- test/app-tap/logger.test.lua 1 addition, 13 deletionstest/app-tap/logger.test.lua
- test/box-luatest/gh_7860_syslog_json_test.lua 88 additions, 0 deletionstest/box-luatest/gh_7860_syslog_json_test.lua
- test/box-tap/cfg.test.lua 1 addition, 2 deletionstest/box-tap/cfg.test.lua
Loading