Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue 'NoSuchFieldError: TRACE' from log4j #40

Merged
merged 3 commits into from Nov 5, 2012

Conversation

willr3
Copy link
Contributor

@willr3 willr3 commented Oct 24, 2012

the packaged version of log4j does not include a TRACE level which causes errors for classes that use log.tracef() or any other trace level logging. The problem occurred when running a Service class on the master (where faban.war is deployed) and was resolved by updating to the latest log4j (1.2.17).

Harness passes all existing unit tests with the new log4j version.

…/lib for jars

Agent with different FABAN_HOME than master would not find serice jars because it scanned ${ServiceName} and not ${ServiceName}/lib. Agent now scans ${ServiceName}/lib/
log4j-1.2.8 does not include a TRACE Level which causes errors loading classes that use log.tracef(). The TRACE level was added in 1.2.11 but updating to the latest 1.2.17.
harness passes unit testing (run-tests)
Changed the return type to HttpClient based on changes to internal API. This might be a compatibility issue.
shanti added a commit that referenced this pull request Nov 5, 2012
Fix Issue 'NoSuchFieldError: TRACE' from log4j
@shanti shanti merged commit 5ec166d into akara:master Nov 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants