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



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


regards
Chanchal verma
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to