Re: Missing com.apple.client.directtoweb
Re: Missing com.apple.client.directtoweb
- Subject: Re: Missing com.apple.client.directtoweb
- From: Dustin Withers <email@hidden>
- Date: Sun, 20 Aug 2006 15:47:45 -0500
BTW,
I added -Dlog4j.debug=true to the Debug (x)= Arguments Program
Arguments: text box and I got some additional logging...maybe it will
help:
log4j:WARN No appenders could be found for logger
(org.apache.log4j.Logger).
log4j:WARN Please initialize the log4j system properly.
log4j: Could not find root logger information. Is this OK?
log4j: Setting category factory to [er.extensions.ERXLogger$Factory].
log4j: Finished configuring.
2003 [main] INFO org.apache.log4j.Logger - Updated the logging
configuration with the current system properties.
2046 [main] WARN NSLog -
Thanks,
-dustin
On Aug 20, 2006, at 1:30 PM, RedBugz Software wrote:
On 8/20/06, Dustin Withers <email@hidden> wrote:
> Also does anybody have any knowledge about configuring log4j?
If I include
Wonder libraries into my app Eclipse no longer logs anything it
just gives
me:
log4j:WARN No appenders could be found for logger
(org.apache.log4j.Logger).
log4j:WARN Please initialize the log4j system properly.
1789 [main] INFO org.apache.log4j.Logger - Updated the logging
configuration with the current system properties.
1835 [main] WARN NSLog -
If you're using WOLips, then my best guess is your Properties file is
not correct. If you use the WOLips WOnderApplication project template,
then it creates a Properties file that should work just fine. If you
created your project with Xcode or using a normal WOApplication
template, then you will need to add some stuff to your Properties
file.
If you don't have a bunch of stuff that looks like this in your
Properties file:
# Log4j Configuration
log4j.loggerFactory=er.extensions.ERXLogger$Factory
# Set root category priority to DEBUG and its only appender to A1.
log4j.rootCategory=DEBUG, A1
# A1 is set to be a FileAppender which outputs to System.out.
log4j.appender.A1=org.apache.log4j.ConsoleAppender
..... <a bunch more stuff>
then I'd recommend you use the new WOnderApplication Wizard to create
a new project and copy all of those entries from that project's
Properties file into
your existing project.
If you do have those entries, then I'd have to start looking at the
classpath to make sure that all the correct classes are there and you
aren't accidentally picking up a really old copy of log4j from
somewhere like /Library/Java/Extensions.
You can also try running the project with -Dlog4j.debug=true which
will tell you where it's loading the configuration from and any errors
it encounters.
HTH,
Logan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40griffintechnology.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden