Trim thread name length

Ported from 1.5:
	4d3c2416351e482bca4a0b646be592034c42b876

Signed-off-by: Frank Filz <ffilz@us.ibm.com>

Conflicts:
	src/Cache_inode/cache_inode_lru.c
	src/FSAL/FSAL_GPFS/fsal_up.c
	src/Log/log_functions.c
	src/MainNFSD/nfs_reaper_thread.c
	src/MainNFSD/nfs_recovery_thread.c
	src/MainNFSD/nfs_rpc_dispatcher_thread.c
	src/MainNFSD/nfs_stat_exporter_thread.c
	src/MainNFSD/nfs_worker_thread.c
	src/SAL/state_async.c
	src/include/log.h

Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>
Deprecate log config in component config stanzas

Ported from 1.5:
	6e33d163b52abcafa4a510734f2d31f517c16d70

Signed-off-by: Frank Filz <ffilz@us.ibm.com>

Conflicts:
	src/Cache_inode/cache_inode_read_conf.c
	src/FSAL/FSAL_HPSS/fsal_tools.c
	src/FSAL/FSAL_TEMPLATE/fsal_tools.c
	src/FSAL/common_methods.c
	src/MFSL/MFSL_ASYNC/mfsl_async_read_conf.c

Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>
Add some Doxygen comments

Ported from 1.5:
	c13a01314786a5e3856f16d71945d4a601df4a79

Signed-off-by: Frank Filz <ffilz@us.ibm.com>
Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>
Change from log dest per component to global log dest

Which allows us to have multiple log destinations with a maximum log
level for each (so errors can go to syslog while debug goes to a file).

Also add reload of LOG config on SIGHUP.

Ported from 1.5:
	6e6f2dd1c6203c89b941f73dcc9e5bd3d012c363

Signed-off-by: Frank Filz <ffilz@us.ibm.com>

Conflicts:

	src/Log/log_functions.c

Conflicts:

	src/Log/log_functions.c

Conflicts:

	src/Log/log_functions.c

Conflicts:
	src/Log/log_functions.c
	src/include/log.h

Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>
Add optional FILE_NAME and LINE_NUM to log headers

Add two new log message header fields for line number and file name.

LogError moves it's line number into the LINE_NUM field.

Ported from 1.5:
	1eefd523ea4136f4d188054fb61686f0f1eb9d62

Signed-off-by: Frank Filz <ffilz@us.ibm.com>

Conflicts:

	src/Log/log_functions.c

Conflicts:
	src/Cache_inode/cache_inode_access.c
	src/include/log.h

Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>
Get rid of unused LOG_MESSAGE_VERBOSITY

Ported from 1.5:
	99811228d6e51a565a1feba297d6f8ea70e4f98a

Signed-off-by: Frank S. Filz <ffilz@us.ibm.com>

Conflicts:
	src/Log/log_functions.c

Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>
Added support for rotation and compression of log files.
Added a sample log configuration file.

Ported from 1.5:
	1f40a8d558ea70e4bec5388f9c64ac3d87051eb8

Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>

Conflicts:
	src/Log/log_functions.c
	src/config_samples/Makefile.am

Signed-off-by: Poornima Gupte <poornima.gupte@in.ibm.com>

Conflicts:
	src/Log/CMakeLists.txt