log4j:WARN

Questions, answers, tips and ideas on Servoy Client

log4j:WARN

Postby Harjo » Tue Mar 17, 2009 9:40 am

Every time I start Servoy Developer (by the bat-file) or open a java-console of a real Servoy client I see this:

Code: Select all
log4j:WARN No appenders could be found for logger (com.servoy.j2db.util.Debug).
log4j:WARN Please initialize the log4j system properly.


even when I start the servoy_updater.jar of Servoy4 I see this, so I see this in Servoy 3.5.8 and in Servoy 4.1.1

Can someone explain what or why this is??
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: log4j:WARN

Postby Andrei Costescu » Tue Mar 17, 2009 4:54 pm

This means that the "log4j...." lines in your servoy.properties files are not as they should be.
You can remove them alltogether and new default ones will be generated when starting Servoy.

You could then compare the default ones with the ones you currently have - maybe you can notice what the problem was.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: log4j:WARN

Postby Harjo » Thu Mar 19, 2009 8:40 pm

I did tried that, and that is the solution!

but how can this happen? I never touched those settings.
I'm not the only one, look here viewtopic.php?f=11&t=12194
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: log4j:WARN

Postby patrick » Fri Mar 20, 2009 10:32 am

It could be that this comes from the log plugin. Maybe the log (server) tries to create a logger before Servoy inits its logger. It should not matter anyway. Could you try and see if the "error" is gone without log plugin?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: log4j:WARN

Postby Harjo » Fri Mar 20, 2009 11:40 am

I can't reproduce right now.
I deleted the log lines in the properties file and now everything is fine!
(the log plugin is installed)
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 8 guests