Project 'picodata/tarantool' was moved to 'core/tarantool'. Please update any links and bookmarks that may still have the old path.
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. (cherry picked from commit ec1747b4)
Showing
- changelogs/unreleased/gh-7860-syslog-json.md 3 additions, 0 deletionschangelogs/unreleased/gh-7860-syslog-json.md
- src/box/box.cc 0 additions, 4 deletionssrc/box/box.cc
- src/lib/core/say.c 0 additions, 10 deletionssrc/lib/core/say.c
- src/lua/log.lua 0 additions, 7 deletionssrc/lua/log.lua
- test/app-tap/logger.test.lua 1 addition, 8 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