Add graylog2 as logger target. Format log entries as GELF and send them via UDP to log server
New config options
- log_to_graylog
- err_to_graylog
- log_graylog_host
- log_graylog_port
[0] https://www.graylog2.org/resources/gelf
Signed-off-by: Marcel Lauhoff <ml@irq0.org>
* configure.ac: "#define HAVE_LIBFUSE" if libfuse is found
* os/Makefile.am: do not compile FuseStore.cc if libfuse is not found
Signed-off-by: Kefu Chai <kchai@redhat.com>
Presently, we can't do jemalloc enabled OSD build along with
rocksdb-static.Rocksdb is now mandatory with Bluestore and that's why
jemalloc builds are failing. Sometimes back the following commit
fd7a35731854528dde10deb3444a82ae4c1a9206 is introduced to build rocksdb
with jemalloc as well, so, we can allow jemalloc build along with
rocksdb-static now. Removing the redundant check from configure.ac.
Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>
this is a follow-up of 6edaf4e, when tcmalloc is enabled,
perfglue/heap_profiler.cc is also compiled, it includes the
google/heap-profiler.h. so to silence the the warnings like
warning: /usr/include/google/heap-profiler.h:35:2: #warning
"google/heap-profiler.h is deprecated. Use gperftools/heap-profiler.h
instead" [-Wcpp]
we also check the new location of these header files if tcmalloc
is enabled.
Signed-off-by: Kefu Chai <kchai@redhat.com>
if we configure --with-librocksdb-static, the rocksdb's Makefile
will detect the installed libbz2 and libz4 by its own. if the
building env happens to have these libraries installed, a link
time dependency is introduced. so we are forced to link against
them.
Fixes: #13850Fixes: #13981
Signed-off-by: Kefu Chai <kchai@redhat.com>
Configure fails with autoconf 2.63 on Centos 6.6 with:
./configure: line 34026: syntax error near unexpected token `newline'
./configure: line 34026: ` yes:no:'
Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
To prepare for the migration of rbd.py to Cython, add Cython as a package
dependency and have the configure script look for it.
Also adds Cython as a dependency for admin/build-doc, and changes the
virtualenv to allow usage of system packages (to avoid having to compile
Cython inside the virtualenv).
With contributions by Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Hector Martin <marcan@marcan.st>
EventSocket will wrap different user event notification method like linux
eventfd, solaris port. Caller can user this to replace signal
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>