https://issues.apache.org/bugzilla/show_bug.cgi?id=44888
Summary: problem in showing Filename and Line number in log file
Product: Log4j
Version: 1.2beta
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Appender
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=21868)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=21868)
Log file with defects
Hi.
I am using Log4j ver 1.2.8
here sometime I get question mark instead of file name and line number
see below for details
[catSwgDataLoad] [AbstractDataLoad.java : 1098 ] [19 Mar 2008 06:20:52,415]
[INFO] - The customer with customer number 00797343 and LegacyCmrCtryCode 649
was missing in customer table CTMTCUSCA and has been inserted into the customer
table CTMTCUSCA
[catSwgDataLoad] [AbstractDataLoad.java : 1098 ] [19 Mar 2008 06:20:52,424]
[INFO] - The customer with customer number 00119972 and LegacyCmrCtryCode 649
was missing in customer table CTMTCUSCA and has been inserted into the customer
table CTMTCUSCA
[catSwgDataLoad] [AbstractDataLoad.java : 1098 ] [19 Mar 2008 06:20:52,431]
[INFO] - The customer with customer number 00575408 and LegacyCmrCtryCode 649
was missing in customer table CTMTCUSCA and has been inserted into the customer
table CTMTCUSCA
[catSwgDataLoad] [AbstractDataLoad.java : 1098 ] [19 Mar 2008 06:20:52,437]
[INFO] - The customer with customer number 00156617 and LegacyCmrCtryCode 649
was missing in customer table CTMTCUSCA and has been inserted into the customer
table CTMTCUSCA
[catSwgDataLoad] [AbstractDataLoad.java : 1098 ] [19 Mar 2008 06:20:52,494]
[INFO] - The customer with customer number 00850370 and LegacyCmrCtryCode 649
was missing in customer table CTMTCUSCA and has been inserted into the customer
table CTMTCUSCA
[catSwgDataLoad] [AbstractDataLoad.java : 1098 ] [19 Mar 2008 06:20:52,510]
[INFO] - The customer with customer number 00124816 and LegacyCmrCtryCode 649
was missing in customer table CTMTCUSCA and has been inserted into the customer
table CTMTCUSCA
[catSwgDataLoad] [AbstractDataLoad.java : 1098 ] [19 Mar 2008 06:20:52,522]
[INFO] - The customer with customer number 00202916 and LegacyCmrCtryCode 649
was missing in customer table CTMTCUSCA and has been inserted into the customer
table CTMTCUSCA
[catSwgDataLoad] [AbstractDataLoad.java : 1098 ] [19 Mar 2008 06:20:52,575]
[INFO] - The customer with customer number 00613744 and LegacyCmrCtryCode 649
was missing in customer table CTMTCUSCA and has been inserted into the customer
table CTMTCUSCA
[catSwgDataLoad] [AbstractDataLoad.java : 1098 ] [19 Mar 2008 06:20:52,582]
[INFO] - The customer with customer number 00472839 and LegacyCmrCtryCode 649
was missing in customer table CTMTCUSCA and has been inserted into the customer
table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,783] [INFO] - The customer with
customer number 00474659 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,790] [INFO] - The customer with
customer number 00338894 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,798] [INFO] - The customer with
customer number 00887960 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,824] [INFO] - The customer with
customer number 00884282 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,830] [INFO] - The customer with
customer number 00652635 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,836] [INFO] - The customer with
customer number 00926011 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,850] [INFO] - The customer with
customer number 00677557 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,857] [INFO] - The customer with
customer number 00700285 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,871] [INFO] - The customer with
customer number 00798306 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,882] [INFO] - The customer with
customer number 00394582 and LegacyCmrCtryCode 649 was missing in customer
table CTMTCUSCA and has been inserted into the customer table CTMTCUSCA
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,898] [INFO] - The customer with
customer number 00809820 and LegacyCmrCtryCode 706 was missing in customer
table CTMTCUSFR and has been inserted into the customer table CTMTCUSFR
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,907] [INFO] - The customer with
customer number 00001129 and LegacyCmrCtryCode 706 was missing in customer
table CTMTCUSFR and has been inserted into the customer table CTMTCUSFR
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,917] [INFO] - The customer with
customer number 00577303 and LegacyCmrCtryCode 706 was missing in customer
table CTMTCUSFR and has been inserted into the customer table CTMTCUSFR
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,927] [INFO] - The customer with
customer number 00067160 and LegacyCmrCtryCode 706 was missing in customer
table CTMTCUSFR and has been inserted into the customer table CTMTCUSFR
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,937] [INFO] - The customer with
customer number 00127121 and LegacyCmrCtryCode 706 was missing in customer
table CTMTCUSFR and has been inserted into the customer table CTMTCUSFR
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,948] [INFO] - The customer with
customer number 00394710 and LegacyCmrCtryCode 706 was missing in customer
table CTMTCUSFR and has been inserted into the customer table CTMTCUSFR
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,956] [INFO] - The customer with
customer number 00070602 and LegacyCmrCtryCode 706 was missing in customer
table CTMTCUSFR and has been inserted into the customer table CTMTCUSFR
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,965] [INFO] - The customer with
customer number 00126677 and LegacyCmrCtryCode 706 was missing in customer
table CTMTCUSFR and has been inserted into the customer table CTMTCUSFR
[catSwgDataLoad] [? : ? ] [19 Mar 2008 06:20:52,977] [INFO
More you can find in Attached file
here all the logs are from same java file and same line number but as you can
see here after sometime logging file name and line number the loger has some
problem it can not log file name and line number
below is the setting for log4j in application
# Appender swg_err uses the PatternLayout.
log4j.logger.swg_err = ,swg_err
log4j.appender.swg_err.layout=org.apache.log4j.PatternLayout
log4j.appender.swg_err.layout.ConversionPattern=[catSwgDataLoad] [%F : %L ]
%d{[dd MMM yyyy HH:mm:ss,SSS]} [%p] - %m%n
Please give me solution ASAP
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]