Results 1 to 2 of 2

Thread: log4j problem.

  1. #1
    dheerajsea123 is offline Member
    Join Date
    Dec 2008
    Posts
    2
    Rep Power
    0

    Default log4j problem.

    hi Everyone,

    I have created two java file one refers to log4j configration and other used to this java file whenever error occur in this file. Here problem is that whenever error occur in my second file it shows the error line number of my first one file i.e
    CustomAppLogger.java, this is my configuration file and other i.e myApp.java file
    which is used to call CustomAppLogger.java for use the log4j.

    Here i want to if error comes from myApp.java file then it shows line number of this file and if error comes from another file then it will show error line number from that file.

    I am sending also my both file with attachment of this message.

    if any one do some thing like that tell me or give me support.
    thanks.
    Attached Files Attached Files

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

Similar Threads

  1. log4j
    By swapna_d in forum New To Java
    Replies: 7
    Last Post: 08-04-2010, 12:23 AM
  2. Regarding Log4j
    By sidiq in forum New To Java
    Replies: 0
    Last Post: 04-07-2008, 07:35 PM
  3. Log4j
    By chakri in forum New To Java
    Replies: 1
    Last Post: 02-08-2008, 10:15 PM
  4. Log4J, problem with Hibernate and Spring
    By Marcus in forum Advanced Java
    Replies: 1
    Last Post: 06-06-2007, 03:22 AM
  5. Log4J - transactions log
    By Daniel in forum Advanced Java
    Replies: 1
    Last Post: 06-05-2007, 05:54 AM

Posting Permissions

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