Switched to SLF4J
- Switched from Log4j to SLF4j
- Updated the Assembly descripter to include the LICENSE and README
- Updated the Assembly to include logback. The jar isn't included when packaging.
- Let JUnit be a test dependency
Looking at the diff, it seems like not everything is formatted using the Crawljax formatter. I will look into this later.
@alexnederlof Logging to the console is working fine. How do I get the logs into the "crawljax.log" file? Changing the level to INFO does not seem to have any effect!
If you are running from a test, it uses src/test/resources/logback-test.xml to configure the log. That configuration doesn't have a file appender configured. If you are running it as a main method from src/main/java then you get the file appender configured in src/main/resources/logback.xml.
But no matter what log level I set in src/main/resources/logback.xml no log file appears in my project workspace! Do you see the crawljax.log when you run one of the examples for instance?
Fixed logback scope
You're right! The scope for logback wasn't configured correctly. It is now.
Still not working; the log file is not created when I run CrawljaxAdvancedExampleSettings from Eclipse.
Are you sure? It works fine for me. Did you refresh Eclipse?
Refreshed Eclipse, changed level to debug/info. no sign of the log file so far.
If you set <appender-ref ref="FILE" /> to <appender-ref ref="STDOUT" />, do you see anything in the console if you set both the logger entry and the root entry to level DEBUG?
<appender-ref ref="FILE" />
<appender-ref ref="STDOUT" />
Fixed broken link. Added link to milestone
Merge branch 'master' of github.com:crawljax/crawljax into issue-65-s…
Works fine. It was a classpath issue caused by mvn eclipse:eclipse; switched to m2e and the problem is resolved.