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

Replaced log4j dependency with SLF4J #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Replaced log4j dependency with SLF4J #4

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 27, 2013

I don't use log4j, so I needed to replace the logging dependency with something that would work for me. SLF4J is a great library for creating a nice API that can be used as a facade for a multitude of logging frameworks. It's highly recommended as a dependency replacement for log4j.

Great work on the Expect implementation, btw! I looked at the other Expect Java libraries before coming here, and neither of them worked the way that I wanted. Your implementation is much simpler, making it easier to modify and integrate into other projects.

fragnemesis added 2 commits February 27, 2013 10:58
SLF4J is a better dependency for code used in potentially many 
projects, as it doesn't couple a specific logging dependency to 
the shared code.
Changed documentation to reflect updated dependency on slf4j instead 
of log4j.
@ronniedong
Copy link
Owner

Hello fragnemesis,

Glad you find it useful! As of SLF4J, I always find it hard to use the logging tools... but my projects are using log4j in other places too, so I would keep it like this for now..

Thanks.
Ronnie

fragnemesis added 2 commits March 19, 2013 12:41
Changed fields and getters/setters to comply with Java naming conventions.
int is multiplied by 1000 and this value is greater than int.MAX_VALUE, a wraparound will occur resulting in a large negative number.  This will effectively make the timeout end immediately instead of lasting indefinitely.
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

1 participant