Skip to content
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

Make Scheduler not log in Dev UI log #31601

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

phillip-kruger
Copy link
Member

This PR make the scheduler log not repeat in Dev UI log (sorry @mkouba I forgot to get back to you w.r.t this)

It also:

  • Makes Dev UI Off by default (as this is only useful to extension developers)
  • Remember the state of the selected on/off in Dev UI Log, so that extension developer can switch it on only once
  • Make storage available for all extensions to use via a controller

@quarkus-bot
Copy link

quarkus-bot bot commented Mar 4, 2023

Failing Jobs - Building 3008002

Status Name Step Failures Logs Raw logs
Gradle Tests - JDK 11 Build Failures Logs Raw logs
✔️ Gradle Tests - JDK 11 Windows

Full information is available in the Build summary check run.

Failures

⚙️ Gradle Tests - JDK 11 #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.AddExtensionToModuleInMultiModuleKtsProjectTest.testBasicMultiModuleBuild line 35 - More details - Source on GitHub

java.lang.AssertionError: 

Expecting actual:

@cescoffier cescoffier merged commit ccf3df0 into quarkusio:main Mar 7, 2023
@quarkus-bot quarkus-bot bot added this to the 3.0 - main milestone Mar 7, 2023
@@ -7,8 +7,8 @@ import { LogController } from 'log-controller';
*/
export class QwcSchedulerLog extends LitElement {

jsonRpc = new JsonRpc("Scheduler");
logControl = new LogController(this, "qwc-scheduler-log");
jsonRpc = new JsonRpc("Scheduler", false);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if it would make sense to also provide a finer grained option?

Also the logging is very useful during dev UI development/for debugging. So it would be nice to have an easy way to enable the logging for an extension. But I have no idea how this could work 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants