]> git.ipfire.org Git - thirdparty/kea.git/commit
[3198] Fixed broken logging in the hooks libraries.
authorMarcin Siodelski <marcin@isc.org>
Tue, 14 Apr 2015 11:50:19 +0000 (13:50 +0200)
committerMarcin Siodelski <marcin@isc.org>
Tue, 14 Apr 2015 11:50:19 +0000 (13:50 +0200)
commita85c59af8b3a79c3157060eed78984e38faedb60
tree8f0fc29c25d4378ce3c813373dee5d76d8d2e6d9
parent2340a0ffa1c872260b60168c1706b01b8083d973
[3198] Fixed broken logging in the hooks libraries.

- when library is loaded, message dictionary is updated
- when library is unloaded, the messages are unregistered
- MessageInitializer prevents static init. fiasco with global dictionary
- enabled logging in user_chk
21 files changed:
src/hooks/dhcp/user_chk/.gitignore [new file with mode: 0644]
src/hooks/dhcp/user_chk/Makefile.am
src/hooks/dhcp/user_chk/load_unload.cc
src/hooks/dhcp/user_chk/user_chk_log.h
src/hooks/dhcp/user_chk/user_chk_messages.mes
src/lib/hooks/library_manager.cc
src/lib/hooks/library_manager.h
src/lib/hooks/tests/basic_callout_library.cc
src/lib/hooks/tests/library_manager_unittest.cc
src/lib/log/compiler/message.cc
src/lib/log/logger_impl.cc
src/lib/log/logger_manager.cc
src/lib/log/logger_manager.h
src/lib/log/message_dictionary.cc
src/lib/log/message_dictionary.h
src/lib/log/message_initializer.cc
src/lib/log/message_initializer.h
src/lib/log/tests/logger_manager_unittest.cc
src/lib/log/tests/message_dictionary_unittest.cc
src/lib/log/tests/message_initializer_1_unittest.cc
src/lib/log/tests/message_initializer_2_unittest.cc