Skip to content

Commit df2097c

Browse files
committed
Merge pull request #1047 from johnelse/sr-scan-logging
Remove some spammy logging associated with SR.scan
2 parents cff94cc + 38b0401 commit df2097c

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

ocaml/idl/ocaml_backend/server_helpers.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ open Threadext
1919
module D = Debug.Debugger(struct let name = "dispatcher" end)
2020
open D
2121

22-
module Real = Debug.Debugger(struct let name = "taskhelper" end)
23-
module Dummy = Debug.Debugger(struct let name = "dummytaskhelper" end)
24-
2522
exception Dispatcher_FieldNotFound of string
2623
let my_assoc fld assoc_list =
2724
try

ocaml/idl/ocaml_backend/taskHelper.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* GNU Lesser General Public License for more details.
1313
*)
1414
module D = Debug.Debugger(struct let name = "taskhelper" end)
15-
module Dummy = Debug.Debugger(struct let name = "dummytaskhelper" end)
1615
open D
1716

1817
(*open API*)

ocaml/xapi/xapi_sr_operations.ml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ let valid_operations ~__context record _ref' : table =
8080
(* First consider the backend SM features *)
8181
let sm_features = features_of_sr record in
8282

83-
info "SR %s has features: [ %s ]" _ref (String.concat ", "
84-
(List.map
85-
(fun f -> Smint.(f |> capability_of_feature |> string_of_capability))
86-
sm_features));
87-
8883
(* Then filter out the operations we don't want to see for the magic tools SR *)
8984
let sm_features =
9085
if Helpers.is_tools_sr ~__context ~sr:_ref'

scripts/xapi.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# The xapi config file
22

33
use-xenopsd = true
4-
disable-logging-for = http db_write redo_log
4+
disable-logging-for = http db_write redo_log api_readonly

0 commit comments

Comments
 (0)