-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin parameter "Logging verbosity" lacks documentation #15
Comments
@konste These values are not translated to Bazel commands. TeamCity logger is listening all events and sends to TeamCity just a part of information depending on a severity level. I can suggest to use more detailed logging at the first "Setup" stage for some new project or when you are investigating some issue and Default or Quite mode in other cases. If your want to report some issue to our bug tracker you could use the Diagnostic mode. TeamCity logger sends raw messages to together with produced messages in this mode. For instance this code creates a message to send to TeamCity depending on a Verbosity level. |
It is not obvious how to design this feature better. I will try to list some ideas, though. Now we need to adjust the desired verbosity of console output separately (using Bazel options) and then adjust the verbosity of the log in TeamCity separately (using adding settings). This is double work. As the one possible logging mode, I would let addin to just pass stdout and stderr through - to TeamCity log, so that it looks exactly like console output. We can turn off cursor movement functions in Bazel for TeamCity. Log verbosity Other than I will do some experiments, collect and compare the logs with the different verbosity settings and provide more input for you. |
@konste thanks for the detailed answer. Bazel's command line argument
If we were to use stdOut instead of the above approach, we would run into several problems:
The Default level is now actually the Normal level. There are too many log levels, I agree. I look forward to the results of your experiments. |
At this time we are getting ready to ship V1 of our Bazel build rework. We cranked build verbosity all the way up to |
The last parameter on the Bazel build step page is
Logging verbosity
which may take values:Unfortunately, there is no information on how those values get translated to Bazel build parameters (if they do) or what exactly kind of the output filtering each of the values provides. We need that information to figure which verbosity level would provide us with the most detailed info for the failing tests while keeping the rest relatively compact.
The text was updated successfully, but these errors were encountered: