All around beginner, bare with me. I’m attempting to obfuscate a jar that uses log4j to write to the console as well as to a .log file. I’ve specified the locations of where to write the logs through in a log4j.properties file in my resources file prior to “jarring” up the project. Prior to obfuscation, the executable runs perfectly. After obfuscation, running the executable results in this error:
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console…
I am using the proguardgui opensource executable and in the obfuscation section I’ve attempted to “Keep additional class names and class member names” for the following:
Not sure if I have to include the .java extension or not (I’ve tried both ways).
I also tried selecting the option to “Adapt resource file names” for **.properties
Any idea on how I can remediate this issue or the whereabouts of any further documentation?