ASF Bugzilla – Attachment 31749 Details for
Bug 56667
"commit_all_members" logs wrong "to" activation state
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
modify output of activation change logging
56667.diff (text/plain), 2.00 KB, created by
Martin Knoblauch
on 2014-06-24 15:15:50 UTC
(
hide
)
Description:
modify output of activation change logging
Filename:
MIME Type:
Creator:
Martin Knoblauch
Created:
2014-06-24 15:15:50 UTC
Size:
2.00 KB
patch
obsolete
>--- common/jk_status.c-orig 2014-06-24 16:54:51.000000000 +0200 >+++ common/jk_status.c 2014-06-24 17:00:34.000000000 +0200 >@@ -3291,10 +3291,11 @@ > if (status_get_string(p, JK_STATUS_ARG_LBM_ACTIVATION, NULL, &arg, l) == JK_TRUE) { > i = jk_lb_get_activation_code(arg); > if (i != wr->activation && i >= 0 && i <= JK_LB_ACTIVATION_MAX) { >+ const char *oldact = jk_lb_get_activation(wr, l); > wr->activation = i; > jk_log(l, JK_LOG_INFO, >- "Status worker '%s' setting 'activation' for sub worker '%s' of lb worker '%s' to '%s'", >- w->name, wr->name, lb_name, jk_lb_get_activation(wr, l)); >+ "Status worker '%s' setting 'activation' for sub worker '%s' of lb worker '%s' from '%s' to '%s'", >+ w->name, wr->name, lb_name, oldact, jk_lb_get_activation(wr, l)); > *side_effect |= JK_STATUS_NEEDS_RESET_LB_VALUES | JK_STATUS_NEEDS_PUSH; > } > } >@@ -3601,10 +3602,11 @@ > if (rv == JK_TRUE) { > i = jk_lb_get_activation_code(arg); > if (i != wr->activation && i >= 0 && i <= JK_LB_ACTIVATION_MAX) { >- jk_log(l, JK_LOG_INFO, >- "Status worker '%s' setting 'activation' for sub worker '%s' of lb worker '%s' to '%s'", >- w->name, wr->name, name, jk_lb_get_activation(wr, l)); >+ const char *oldact = jk_lb_get_activation(wr, l); > wr->activation = i; >+ jk_log(l, JK_LOG_INFO, >+ "Status worker '%s' setting 'activation' for sub worker '%s' of lb worker '%s' from '%s' to '%s'", >+ w->name, wr->name, name, oldact, jk_lb_get_activation(wr, l)); > rc = 1; > sync_needed = JK_TRUE; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56667
: 31749