Thank you Ian Marshall,

I want to log all diagnostic messages in a file by specify file name
in Log4j.properties file

as below:

log4j.appender.myapp.file=C:/MyTestAppLogs.log

but its not working... any idea ?


Thanks,

MallikarjunBK


On Mar 11, 1:54 am, Ian Marshall <ianmarshall...@gmail.com> wrote:
> I use both files, located in:
>
>   war\WEB-INF\classes\log4j.properties
>   war\WEB-INF\classes\logging.properties
>
> In my "appengine-web.xml" file, I have the following extract for you:
>
>   <?xml version="1.0" encoding="UTF-8"?>
>   <appengine-web-app xmlns="http://appengine.google.com/ns/1.0";>
>     <system-properties>
>       <property
>        name="java.util.logging.config.file"
>        value="WEB-INF/classes/logging.properties"
>       />
>       <property
>        name="log4j.configuration"
>        value="file:WEB-INF/classes/log4j.properties"
>       />
>     </system-properties>
>   </appengine-web-app>
>
> I remember that I had a problem where the two file names included
> capital letters, so reluctantly I made them both pure lower case!

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to