Cluster Project branch, master, updated. gfs-kernel_0_1_22-219-gbf52c81
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".
The branch, master has been updated
via bf52c81764cc41244220426f99a74c15dc43efe2 (commit)
from 84ebd946dff09b1ed3c75ddfb7343b41453eb32b (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit bf52c81764cc41244220426f99a74c15dc43efe2
Author: Fabio M. Di Nitto <[email protected]> Date: Mon Apr 28 08:13:11 2008 +0200
[CMAN] Setup logging file
Align cman logging options with the other subsystems and set logging file to LOGDIR "/cman.log".
It is still possible to disable the feature by using the standard to_file: no config option (default to yes).
-----------------------------------------------------------------------
Summary of changes:
cman/daemon/cman-preconfig.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
cman/daemon/cman-preconfig.c +10 -0
@@ -643,6 +643,16 @@ static void add_cman_overrides(struct objdb_iface_ver0 *objdb) objdb->object_key_create (logger_object_handle,"subsys" ,strlen ("subsys" ),"CMAN" ,strlen ("CMAN" )+1 ); +if (objdb_get_string (objdb, object_handle,"to_file" , &logstr)) { + objdb->object_key_create (object_handle,"to_file" ,strlen ("to_file" ), +"yes" ,strlen ("yes" )+1 ); + } + +if (objdb_get_string (objdb, object_handle,"logfile" , &logstr)) { + objdb->object_key_create (object_handle,"logfile" ,strlen ("logfile" ), +LOGDIR "/cman.log" ,strlen (LOGDIR "/cman.log" )+1 ); + } +if (debug_mask) { objdb->object_key_create (logger_object_handle,"debug" ,strlen ("debug" ),"on" ,strlen ("on" )+1 );
hooks/post-receive
--
Cluster Project