Print this page
7711 SMF: Finish implementing support for degraded state
*** 20,29 ****
--- 20,30 ----
*/
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
* Copyright 2011 Nexenta Systems. All rights reserved.
+ * Copyright 2017 RackTop Systems.
*/
/*
* log.c - debugging and logging functions
*
*** 473,482 ****
--- 474,487 ----
omessage);
severity = LOG_INFO;
} else {
switch (outcome) {
+ case DEGRADE_REQUESTED:
+ action = gettext("transitioned to degraded by "
+ "request (see 'svcs -xv' for details)");
+ break;
case MAINT_REQUESTED:
action = gettext("transitioned to maintenance by "
"request (see 'svcs -xv' for details)");
break;
case START_FAILED_REPEATEDLY: