[apex] Really fix ApexLexer logging

The fix introduced with #503 (fba00843bb)
was incomplete and didn't work:
* The logger uses the full class name insteand of simple name
* After we changed the log level of the logger, the logger
  could be garbage collected before ApexLexer retrieves it and
  thus the configuration could be lost
This commit is contained in:
Andreas Dangel
2019-11-02 08:18:10 +01:00
parent bfa2d1e872
commit c75e2bd000
3 changed files with 10 additions and 2 deletions

View File

@@ -42,5 +42,8 @@ public class AllRulesIT extends AbstractBinaryDistributionTest {
result.assertNoError("Use of deprecated attribute");
result.assertNoErrorInReport("Error while processing");
result.assertNoErrorInReport("Error while parsing");
// See bug #2092: [apex] ApexLexer logs visible when Apex is the selected language upon starting the designer
result.assertNoError("Deduped array ApexLexer");
}
}