Can you post a copy of your log4j.properties file?

On Thu, Mar 11, 2010 at 12:45 PM, AJ Chen <[email protected]> wrote:

> yes, log4j.properties is copied by the build. the app uses it.  the warning
> message is weird.  thanks.
>
>
> On Thu, Mar 11, 2010 at 8:10 AM, Rajeev Dayal <[email protected]> wrote:
>
>> If you have your log4j.properties file at the root of your source tree, it
>> should automatically be copied over to war/WEB-INF/classes whenever Eclipse
>> performs a build of your project; you should not have to copy it over
>> manually.
>>
>> I'm not sure why you're getting the error with regard to
>> Datanucleus.Connection; I've added Don to this thread; he may have some
>> insight into this.
>>
>>
>> On Thu, Mar 11, 2010 at 3:33 AM, AJ Chen <[email protected]> wrote:
>>
>>> I have the default log4j.properties in WEB-INF/classes dir. but the
>>> warning always comes up. the file is visible because I can change the log
>>> level to ERROR to get rid of the warning.
>>> -aj
>>>
>>>
>>>
>>> On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright 
>>> <[email protected]>wrote:
>>>
>>>> I think you can simply put the log4j.properties file in the
>>>> WEB-INF/classes dir and you don't need any appengine-web.xml stuff for it.
>>>>  Log4j looks for its configuration file "on the classpath" which means it
>>>> looks in WEB-INF/classes (and also in all of the jars in the lib 
>>>> directory).
>>>>
>>>>
>>>> AJ Chen wrote:
>>>>
>>>>> I have  log4j config in appengine-web.xml,
>>>>> <system-properties>
>>>>>        <property name="java.util.logging.config.file"
>>>>> value="WEB-INF/logging.properties"/>
>>>>>        <property name="log4j.configuration"
>>>>> value="file:WEB-INF/classes/log4j.properties"/>
>>>>>        <property name="monitor.config.file"
>>>>> value="WEB-INF/monitor.properties"/>
>>>>>    </system-properties>
>>>>>   but GAE still complains about it:
>>>>> log4j:WARN No appenders could be found for logger
>>>>> (DataNucleus.Connection).
>>>>> log4j:WARN Please initialize the log4j system properly.
>>>>>
>>>>> Is there anything else that should be set?
>>>>>
>>>>> thanks,
>>>>> -aj
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google App Engine for Java" group.
>>>>> To post to this group, send email to
>>>>> [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<google-appengine-java%[email protected]>
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/google-appengine-java?hl=en.
>>>>>
>>>>
>>>> --
>>>> 0x2B | ~0x2b  --  Hamlet
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google App Engine for Java" group.
>>>> To post to this group, send email to
>>>> [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<google-appengine-java%[email protected]>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-appengine-java?hl=en.
>>>>
>>>>
>>>
>>>
>>> --
>>> AJ Chen, PhD
>>> Chair, Semantic Web SIG, sdforum.org
>>> http://web2express.org
>>> twitter @web2express
>>> Palo Alto, CA, USA
>>> 650-283-4091
>>> *Building social media monitoring pipeline, and connecting social
>>> customers to CRM*
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google App Engine for Java" group.
>>> To post to this group, send email to
>>> [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<google-appengine-java%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine-java?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine-java%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>
>
>
> --
> AJ Chen, PhD
> Chair, Semantic Web SIG, sdforum.org
> http://web2express.org
> twitter @web2express
> Palo Alto, CA, USA
> 650-283-4091
> *Building social media monitoring pipeline, and connecting social customers
> to CRM*
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to