project-oak / oak

Meaningful control of data in distributed systems.
Apache License 2.0
1.32k stars 113 forks source link

Hide "Parsed manifest files" output #1956

Closed ipetr0v closed 3 years ago

ipetr0v commented 3 years ago

Should we hide (for example into debug output) the following output: https://github.com/project-oak/oak/blob/b6bc1597b8bb9a470702de6477e7b01fbbe33e8b/runner/src/main.rs#L160

Because it ends up in a large wall of text in the console

parsed examples manifest files: [Example { name: "weather_service", server: ExampleServer { additional_args: ["--config-files=config=examples/aggregator/config.toml"] }, backends: {}, applications: {"rust": Application { manifest: "examples/weather_service/oak_app_manifest.toml", out: "examples/weather_service/bin/weather_service.oak", modules: {"module": Cargo { cargo_manifest: "examples/weather_service/module/rust/Cargo.toml", additional_build_args: [] }} }}, clients: {"rust": Executable { target: Cargo { cargo_manifest: "examples/weather_service/client/rust/Cargo.toml", additional_build_args: [] }, additional_args: ["--root-tls-certificate=examples/certs/local/ca.pem", "--latitude=0.0", "--longitude=0.0"] }} }, Example { name: "tensorflow", server: ExampleServer { additional_args: [] }, backends: {}, applications: {"cpp": Application { manifest: "examples/tensorflow/oak_app_manifest.toml", out: "examples/tensorflow/bin/tensorflow.oak", modules: {"module": Bazel { bazel_target: "//examples/tensorflow/module/cpp:tensorflow_micro.wasm", config: "emscripten" }} }}, clients: {"cpp": Executable { target: Bazel { bazel_target: "//examples/tensorflow/client/cpp:client", config: "" }, additional_args: [] }} }, Example { name: "chat", server: ExampleServer { additional_args: [] }, backends: {}, applications: {"rust": Application { manifest: "examples/chat/oak_app_manifest.toml", out: "examples/chat/bin/chat.oak", modules: {"module": Cargo { cargo_manifest: "examples/chat/module/rust/Cargo.toml", additional_build_args: [] }} }}, clients: {"cpp": Executable { target: Bazel { bazel_target: "//examples/chat/client/cpp:client", config: "" }, additional_args: ["--test"] }} }, Example { name: "aggregator", server: ExampleServer { additional_args: ["--config-files=config=examples/aggregator/config.toml"] }, backends: {"backend": Executable { target: Cargo { cargo_manifest: "examples/aggregator/backend/Cargo.toml", additional_build_args: [] }, additional_args: ["--grpc-listen-address=[::]:8888", "--grpc-tls-private-key=./examples/certs/local/local.key", "--grpc-tls-certificate=./examples/certs/local/local.pem"] }}, applications: {"rust": Application { manifest: "examples/aggregator/oak_app_manifest.toml", out: "examples/aggregator/bin/aggregator.oak", modules: {"module": Cargo { cargo_manifest: "examples/aggregator/module/rust/Cargo.toml", additional_build_args: [] }} }}, clients: {"cpp": Executable { target: Bazel { bazel_target: "//examples/aggregator/client/cpp:client", config: "" }, additional_args: ["--bucket=test", "--data=1:10,2:20,3:30"] }} }, ...
ipetr0v commented 3 years ago

cc @tiziano88

tiziano88 commented 3 years ago

Yes I was thinking about that too, please go ahead