On Wed, Jun 18, 2008 at 06:41:11AM -0700, Joe Bill wrote: > > if (strcmp(logtype, "ha-log") == 0){ > > priority = LOG_INFO; > > } else if (strcmp(logtype, "ha-debug") == 0){ > > priority = LOG_DEBUG; > > }else{ > > goto err_exit; > > } > > Can anybody give the reason why ha_logger.c limits log_prio to > only LOG_INFO and LOG_DEBUG ? > > Instead of modifying the '-D <ha-log/ha-debug>' option, would > it not make more sense to add a '-p > <info/notice/warning/err/crit/alert/emerg/debug>' priority > option, and make -p and -D exclusive ?
Agreed. Though AFAIK nobody so far complained about it. We still accept patches ;-) > > > > > _______________________________________________________ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/