bazel-buildfarm icon indicating copy to clipboard operation
bazel-buildfarm copied to clipboard

Try to enable FINEST logging

Open SinOverCos opened this issue 2 years ago • 2 comments

bazelisk run //src/main/java/build/buildfarm:buildfarm-server -- --jvm_flag=-Djava.util.logging.config.file=$PWD/examples/server-logging.properties $PWD/examples/config.minimal.yml
bazel run //src/main/java/build/buildfarm:buildfarm-shard-worker -- --jvm_flag=-Djava.util.logging.config.file=$PWD/examples/worker-logging.properties $PWD/examples/config.minimal.yml

then building something remotely, this is what comes out of the worker console logs: https://pastebin.com/7PdHKJBj

You can see that based on the changes in src/main/java/build/buildfarm/worker/ExecuteActionStage.java, you'd expect both

[SEVERE ] build.buildfarm.worker.ExecuteActionStage getLogger - severe - In ExecuteActionStage.java ~~~~~~~~~

and

[FINEST ] build.buildfarm.worker.ExecuteActionStage getLogger - finest - In ExecuteActionStage.java ~~~~~~~~~

to show up.

Only the "severe" log line shows up.

SinOverCos avatar Oct 06 '23 16:10 SinOverCos

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Oct 06 '23 16:10 google-cla[bot]

You should find that this works with a rebase.

werkt avatar Oct 15 '23 01:10 werkt