Skip to content

Ghidra is a software reverse engineering (SRE) framework

Merge remote-tracking branch 'origin/patch'

ghidra1c157016f14d2
diff --cc Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/ingest/BSimLaunchable.java
index a03d5a814d,7046ce34ca..73cfd81d0a
--- a/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/ingest/BSimLaunchable.java
+++ b/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/ingest/BSimLaunchable.java
@@@ -1056,16 -1057,13 +1057,10 @@@ public class BSimLaunchable implements
*/
System.setProperty(SystemUtilities.HEADLESS_PROPERTY, Boolean.TRUE.toString());
- try {
- URL configFileUrl =
- BSimLaunchable.class.getClassLoader().getResource(BSIM_LOGGING_CONFIGURATION_FILE);
- System.setProperty(LoggingInitialization.LOG4J2_CONFIGURATION_PROPERTY,
- configFileUrl.toURI().toString());
- }
- catch (URISyntaxException e) {
- System.err.println("ERROR: " + e.getMessage());
- }
+ // Use BSim log config to ensure we get desired console output
+ System.setProperty(LoggingInitialization.LOG4J2_CONFIGURATION_PROPERTY,
+ BSIM_LOGGING_CONFIGURATION_FILE);
- // Allows handling of old content which did not have a content type property
- DomainObjectAdapter.setDefaultContentClass(ProgramDB.class);
-
ApplicationConfiguration config;
switch (type) {
case 2: