User Profile

Collapse

Profile Sidebar

Collapse
Kedar Kachare
Kedar Kachare
Last Activity: Jan 28 '09, 06:12 AM
Joined: Feb 7 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Kedar Kachare
    started a topic Log4j in Servlets
    in Java

    Log4j in Servlets

    How to use Log4j to create log files using file appender in a Servlet? Also, how to make that Servlet read the log4j.propertie s file?


    I have tried following:

    My web.xml( I use Eclipse europa)
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    ...
    See more | Go to post

  • Kedar Kachare
    replied to Log4j in Servlets
    in Java
    I have tried following:

    My web.xml( I use Eclipse europa)

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    ...
    See more | Go to post

    Leave a comment:


  • Kedar Kachare
    started a topic Log4j in Servlets
    in Java

    Log4j in Servlets

    How to use Log4j in a Servlet using FileAppender? How to make the servlet read the 'log4j.properti es' file?

    Thanks in advance,
    Kedar
    See more | Go to post
No activity results to display
Show More
Working...