Results 1 to 2 of 2
  1. #1
    sneha343 is offline Member
    Join Date
    Nov 2011
    Posts
    5
    Rep Power
    0

    Default issue with logging!!

    I have a java class that should generate .csv file named qcCoverageReport.csv and store the test results. But my java class is generating the file but not storing the log. Where have I done the mistake? This is my log4j.properties file:

    log4j.appender.stdout=org.apache.log4j.ConsoleAppe nder
    log4j.appender.stdout.layout=org.apache.log4j.Patt ernLayout
    log4j.appender.stdout.layout.ConversionPattern =%d{ABSOLUTE} %5p %c{1}:%L - %m%n
    log4j.appender.stdout=org.apache.log4j.DailyRollin gFileAppender
    log4j.appender.stdout.layout=org.apache.log4j.Patt ernLayout
    log4j.appender.stdout.layout.ConversionPattern =%5p (%F:%L) [%d] - %m%n
    log4j.appender.stdout.File=C:\\junit\\qcCoverageRe port.csv
    log4j.rootLogger=INFO, stdout

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    6

Similar Threads

  1. JVM Logging
    By sansana in forum New To Java
    Replies: 2
    Last Post: 07-10-2010, 01:56 AM
  2. Logging Question
    By appdevman in forum New To Java
    Replies: 1
    Last Post: 06-23-2010, 07:35 PM
  3. Logging applications
    By ravian in forum New To Java
    Replies: 2
    Last Post: 01-02-2008, 06:43 PM
  4. what is logging
    By Thirumalt in forum Java Software
    Replies: 1
    Last Post: 11-26-2007, 11:37 AM
  5. Logging
    By ravian in forum New To Java
    Replies: 3
    Last Post: 11-18-2007, 10:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •