Closed istvanrath closed 12 years ago
run-time messages (caught exceptions) should be detected by tests as opposed to simply being printed to the default logger (stderr).
After reading up on the hierarchical nature of log4j, I now have the impression that instead of passing around a global Logger instance, we were supposed to use e.g. Logger.getLogger(ThisClass.class)
everywhere, and then separately apply filters and appenders at arbitrary points along the package namespace hierarchy (e.g. "org.eclipse.viatra2.emf.incquery"). We should discuss this.
Anyway, for now engine and dependant components were adjusted in 3f5ff22ace9942124a606a3eab939739fc4406fb
Yes, that is true. However, log4j vs. OSGi vs. Xtext log4j configuration are really tricky to setup. Basically, we have to turn off the configured Xtext logger (it get's applied automatically to all of our editors, and that causes the org.apache.log4j plug-in logger entries in the Error log view).
In other words, you are right, but that way it does not work.
Seems to be fixed. If some issue comes forth, it should be handled on a case-by-case basis. Currently marking as resolved.
@ujhelyiz promised to help with this