Whamcloud - gitweb
LU-3692 api: More flexible logging API. 72/7572/7
authorHenri Doreau <henri.doreau@cea.fr>
Fri, 6 Sep 2013 07:43:48 +0000 (09:43 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 25 Oct 2013 01:58:59 +0000 (01:58 +0000)
commit8846f1ee40510218c83c86a4a369b6575f7e5d2a
tree8c511a1926766cbe6cfe673a9d52610b71d88d97
parentad6f6d4ee44675d59931d81bcd966005db47fe2a
LU-3692 api: More flexible logging API.

Allow applications to register their own logging callback instead of
writing every log message to stderr/stdout. Registered callbacks are
global to the process, just like the log level.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Change-Id: I5ccfd1e24f1786408ce67b2cd87d53443bcd028a
Reviewed-on: http://review.whamcloud.com/7572
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre/lustre_user.h
lustre/include/lustre/lustreapi.h
lustre/utils/liblustreapi.c