SpoonLabs / astor

Automatic program repair for Java with generate-and-validate techniques :v::v:: jGenProg (2014) - jMutRepair (2016) - jKali (2016) - DeepRepair (2017) - Cardumen (2018) - 3sfix (2018)
https://hal.archives-ouvertes.fr/hal-01321615/document
GNU General Public License v2.0
205 stars 106 forks source link

log4j2-test.xml #320

Closed ssk1216 closed 3 years ago

ssk1216 commented 3 years ago

When a comment such as the one below is issued, you only get to see the results /patches . The log info is missing.

java -cp target/astor-1.1.0-jar-with-dependencies.jar fr.inria.main.evolution.AstorMain -mode jgenprog -location /home/linuxadmin/Desktop/astor/examples/Math-issue-280

How to enable this ? The configuration file looks OK? <?xml version="1.0" encoding="UTF-8"?>

** **
ssk1216 commented 3 years ago

Add the above xml file to the astor root folder (log4j2.xml) When you run it , java -cp target/astor-1.1.0-jar-with-dependencies.jar -Dlog4j.configurationFile=/home/linuxadmin/Desktop/astor/log4j2.xml

Idea was from the user-lapplislazuli , and it worked for me