Convert buserver to libutil's logging
authorBen Kaduk <kaduk@mit.edu>
Thu, 10 Oct 2013 17:50:26 +0000 (13:50 -0400)
committerDerrick Brashear <shadow@your-file-system.com>
Tue, 15 Oct 2013 17:35:52 +0000 (10:35 -0700)
commit950dec0715de719f90a4cf59293f0c70d42841cc
treed13ca356e70553d28a6185cfe8e18dbf6d1b4b03
parent600712877ca0883c6ec609d51909336964b06cba
Convert buserver to libutil's logging

The primary motivation is to get automatic log rotation, but we
also get built-in locking for the logging calls.

This does have a side effect of changing the format used to print
timestamps in the log file.

Export WriteLogBuffer from liboafs_util so as to be mostly compatible
with the ... idiosyncrasy of LogError()'s previous behavior.

Garbage-collect the unused (and un-exported) printHashTable() and LogNetDump().

Change-Id: I860370e60082ea355806b3f1945eee76db7c32e3
Reviewed-on: http://gerrit.openafs.org/10333
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Karl Ramm <kcr@1ts.org>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/budb/db_hash.c
src/budb/globals.h
src/budb/server.c
src/budb/struct_ops.c
src/util/liboafs_util.la.sym