Hi,

I was looking into "why" we need to emulate SLF4J classes for usage
in GWT frontend (given that one should use java.util.logging instead):

  
frontend/webadmin/modules/gwt-extension/src/main/java/org/ovirt/engine/ui/uioverrides/org/slf4j/Logger.java
  
frontend/webadmin/modules/gwt-extension/src/main/java/org/ovirt/engine/ui/uioverrides/org/slf4j/LoggerFactory.java

I found two frontend-specific classes, which I fixed. However, I could
not remove ^^ SLF4J class overrides, because some shared (backend) code
still uses SLF4J, in particular:

  VmRngDevice.java => backend, common module
  EnumValueAutoCompleter.java => backend, searchbackend module
  SyntaxChecker.java => backend, searchbackend module

1, should a backend business entity (VmRngDevice) perform logging?
2, assuming "searchbackend" functionality is exposed only via the GWT
   frontend, why it's represented as a backend module?

Thanks,
Vojtech
_______________________________________________
Devel mailing list
[email protected]
http://lists.phx.ovirt.org/mailman/listinfo/devel

Reply via email to