nomiddlename/log4js-node — pull request #77 by osher (2012-05-22 14:24:27+00:00)
Title: log4js.json is not recognized in root folder

The suggested fix was tested against the following cases:
- when absolute path to configuration is used - it is tried.
- when relative path is found - it is considered relative to execution directory.
- when no path is provided - try to load ```log4js.json``` from execution directory.
- when tried file path does not resolve to a file - ```__dirname + "/log4js.json"``` is used.

NOTE: ```__dirname + "/log4js.json"``` will __always__ provide the default log4js.json from the log4js module.
I would advise to move it from ./lib to something like ./config, or ./sample, but that's up to you :)

I did not update the test suite. If you tell me how you run it - I'll do that too in an additional pull request :)