Add audit log implementation stub
To build audit log as a part of the box library, set the following cmake variables: - ENABLE_AUDIT_LOG: ON - AUDIT_LOG_SOURCES: audit log source files - EXTRA_BOX_INCLUDE_DIRS: header files needed for compilation and add "audit_impl.h" to EXTRA_BOX_INCLUDE_DIRS - then it will be included by "audit.h". If ENABLE_AUDIT_LOG is unset, then a stub implementation is built, which spits a warning to the log on an attempt to configure audit log.
Showing
- src/box/CMakeLists.txt 10 additions, 1 deletionsrc/box/CMakeLists.txt
- src/box/audit.c 21 additions, 0 deletionssrc/box/audit.c
- src/box/audit.h 28 additions, 0 deletionssrc/box/audit.h
- src/box/box.cc 4 additions, 0 deletionssrc/box/box.cc
- src/box/lua/load_cfg.lua 6 additions, 0 deletionssrc/box/lua/load_cfg.lua
- src/trivia/config.h.cmake 1 addition, 0 deletionssrc/trivia/config.h.cmake
- test/app-tap/init_script.result 1 addition, 0 deletionstest/app-tap/init_script.result
- test/box/admin.result 3 additions, 1 deletiontest/box/admin.result
- test/box/cfg.result 6 additions, 2 deletionstest/box/cfg.result
Loading
Please register or sign in to comment