diff --git a/common/src/main/java/com/genexus/diagnostics/UserLog.java b/common/src/main/java/com/genexus/diagnostics/UserLog.java index 3b1a3e39d..210041433 100644 --- a/common/src/main/java/com/genexus/diagnostics/UserLog.java +++ b/common/src/main/java/com/genexus/diagnostics/UserLog.java @@ -19,7 +19,8 @@ public static ILogger getMainLogger() { private static ILogger getLogger(String topic) { ILogger log; if (topic != null && topic.length() > 0) { - log = LogManager.getLogger(String.format("%s.%s", defaultUserLogNamespace, topic.trim())); + String loggerName = topic.startsWith("$") ? topic.substring(1): String.format("%s.%s", defaultUserLogNamespace, topic.trim()); + log = LogManager.getLogger(loggerName); } else { log = getMainLogger(); diff --git a/java/src/main/java/com/genexus/internet/GXWebProgressIndicator.java b/java/src/main/java/com/genexus/internet/GXWebProgressIndicator.java index 9c4821bb7..46aebaffc 100644 --- a/java/src/main/java/com/genexus/internet/GXWebProgressIndicator.java +++ b/java/src/main/java/com/genexus/internet/GXWebProgressIndicator.java @@ -8,8 +8,6 @@ public class GXWebProgressIndicator private GXWebNotification notification; private GXWebProgressIndicatorInfo info; private ModelContext context; - private boolean running = false; - public GXWebProgressIndicator(ModelContext gxContext) { @@ -20,26 +18,21 @@ public GXWebProgressIndicator(ModelContext gxContext) public void show() { - running = true; setAction("0"); updateProgress(); } private void updateProgress() { - if (running) - { - GXWebNotificationInfo notif = new GXWebNotificationInfo(0,context,""); - notif.setId(GXWebProgressIndicator.ID); - notif.setGroupName(GXWebProgressIndicator.ID); - notif.setMessage(info); - notification.notify(notif); - } + GXWebNotificationInfo notif = new GXWebNotificationInfo(0,context,""); + notif.setId(GXWebProgressIndicator.ID); + notif.setGroupName(GXWebProgressIndicator.ID); + notif.setMessage(info); + notification.notify(notif); } public void showWithTitle(String title) { - running = true; setTitle(title); setAction("1"); updateProgress(); @@ -47,7 +40,6 @@ public void showWithTitle(String title) public void showWithTitleAndDescription(String title, String desc) { - running = true; setTitle(title); setDescription(desc); setAction("2"); @@ -58,7 +50,6 @@ public void hide() { setAction("3"); updateProgress(); - running = false; } private String getAction() {