|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
log4j is complainingI ran the MathProblem example. This was printed to the console:
Formula to discover: X^4 + X^3 + X^2 - X 0) 1.3086557 5.5780315 1) 0.6677475 0.27469397 2) 1.7915721 17.470993 3) -1.3793535 4.277538 4) 5.284241 949.8973 5) 0.735157 0.49471116 6) 2.9162269 102.71331 7) -0.6353531 0.9455037 8) -0.7903862 1.3115971 9) 3.9412146 314.09097 10) -2.0662909 15.742825 11) 4.2720485 425.022 12) 4.996321 767.8539 13) -1.4751458 5.1764183 14) -2.0828452 16.20556 15) 1.3615232 6.4525113 16) 0.061273098 -0.057274565 17) 3.4071841 182.52203 18) 2.9908795 112.72844 19) 0.99180746 1.9351282 log4j:WARN No appenders could be found for logger (org.jgap.gp.impl.GPGenotype). log4j:WARN Please initialize the log4j system properly. After running for a few minutes, the program terminated. It produced a mathproblem_best.png image, but it never actually showed me the best solution -- presumably because it tried to "log" the solution, and the logger isn't working properly. What should I do? Peter Drake http://www.lclark.edu/~drake/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ jgap-users mailing list jgap-users@... https://lists.sourceforge.net/lists/listinfo/jgap-users |
|
|
Re: log4j is complainingPeter,
Please be sure that the log4j.properties file is in the root directory of your application. When you start the math problem via the file "start_gp_mathproblem.bat" this is the case. Best Klaus www.klaus-meffert.com > -----Original Message----- > From: jgap-users-bounces@... > [mailto:jgap-users-bounces@...] On Behalf > Of Peter Drake > Sent: Thursday, May 22, 2008 6:26 PM > To: jgap-users@... > Subject: [jgap-users] log4j is complaining > > I ran the MathProblem example. This was printed to the console: > > Formula to discover: X^4 + X^3 + X^2 - X > 0) 1.3086557 5.5780315 > 1) 0.6677475 0.27469397 > 2) 1.7915721 17.470993 > 3) -1.3793535 4.277538 > 4) 5.284241 949.8973 > 5) 0.735157 0.49471116 > 6) 2.9162269 102.71331 > 7) -0.6353531 0.9455037 > 8) -0.7903862 1.3115971 > 9) 3.9412146 314.09097 > 10) -2.0662909 15.742825 > 11) 4.2720485 425.022 > 12) 4.996321 767.8539 > 13) -1.4751458 5.1764183 > 14) -2.0828452 16.20556 > 15) 1.3615232 6.4525113 > 16) 0.061273098 -0.057274565 > 17) 3.4071841 182.52203 > 18) 2.9908795 112.72844 > 19) 0.99180746 1.9351282 > log4j:WARN No appenders could be found for logger > (org.jgap.gp.impl.GPGenotype). > log4j:WARN Please initialize the log4j system properly. > > After running for a few minutes, the program terminated. It > produced a mathproblem_best.png image, but it never actually > showed me the best solution -- presumably because it tried to > "log" the solution, and the logger isn't working properly. > > What should I do? > > Peter Drake > http://www.lclark.edu/~drake/ > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ jgap-users mailing list jgap-users@... https://lists.sourceforge.net/lists/listinfo/jgap-users |
| Free Forum Powered by Nabble | Forum Help |