This is only happening in particular methods in particular classes. Some of the
methods will display the line number and then some will not (within the same
class)

"Shapira, Yoav" wrote:

> Hi,
> And so you would expect to to see the file and line number on standard
> out, but in not in your log file.  Yet you say it doesn't come out on
> the console, you get "?:?" instead, right?  Does this happen regularly?
> Only for particular methods?
>
> Yoav Shapira
> Millennium ChemInformatics
>
> >-----Original Message-----
> >From: David Hirst [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, August 12, 2002 9:40 AM
> >To: Log4J Users List
> >Subject: Re: newbie logging question
> >
> >log4j.rootLogger=debug, stdout, R
> >
> >log4j.appender.stdout=org.apache.log4j.ConsoleAppender
> >log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
> >
> ># Pattern to output the caller's file name and line number.
> >log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
> >
> >log4j.appender.R=org.apache.log4j.RollingFileAppender
> >log4j.appender.R.File=/infosystems/iplanet/ias6-
> >dhirst/ias/logs/travel/MyTravelLog
> >
> >
> >log4j.appender.R.MaxFileSize=100KB
> ># Keep one backup file
> >log4j.appender.R.MaxBackupIndex=1
> >
> >log4j.appender.R.layout=org.apache.log4j.PatternLayout
> >log4j.appender.R.layout.ConversionPattern=%p %t %c (%x) - %m%n
> >
> >log4j.logger.org.mitre.mytravel.servlet.MyTravelServlet=DEBUG
> >log4j.logger.org.mitre.mytravel.ejb.RTSLogger=DEBUG
> >log4j.logger.org.mitre.mytravel.ejb.GDSLogger=DEBUG
> >log4j.logger.org.mitre.mytravel.ejb.BookingDirectorLogger=DEBUG
> >log4j.logger.org.mitre.mytravel.ejb.BookingDataBuilderLogger=DEBUG
> >log4j.logger.org.mitre.mytravel.ejb.DirectorProxyLogger=DEBUG
> >
> >"Shapira, Yoav" wrote:
> >
> >> Hi,
> >> What does your layout conversion pattern for this appender look like?
> >>
> >> Yoav Shapira
> >> Millennium ChemInformatics
> >>
> >> >-----Original Message-----
> >> >From: David Hirst [mailto:[EMAIL PROTECTED]]
> >> >Sent: Monday, August 12, 2002 9:06 AM
> >> >To: [EMAIL PROTECTED]
> >> >Subject: newbie logging question
> >> >
> >> >Hi,
> >> >    I've been attempting to use log4j in a J2EE application, bu
> going
> >> >thru the archives and online manual I've been able to create a
> couple
> >> >different loggers, however I'm stumped by some of the output
> >> >DEBUG [Thread-40] (GdsBuilderEJB.java:59) -
> >> >+++++++++++++++++++++++++++++++
> >> >DEBUG [Thread-40] (?:?) - GDS GetQueryString Start: Mon Aug 12
> 08:38:55
> >> >EDT 2002
> >> >
> >> >I don't understand why this second message does not contain the file
> >> >name and number (this second log statement is also contained within
> a
> >> >file named GdsBuilderEJB.java) Can anyone tell me what the cause
> might
> >> >be and how to fix it.
> >> >
> >> >Thanks in advance!
> >> >Dave Hirst
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >--
> >> >To unsubscribe, e-mail:   <mailto:log4j-user-
> >> >[EMAIL PROTECTED]>
> >> >For additional commands, e-mail: <mailto:log4j-user-
> >> >[EMAIL PROTECTED]>
> >>
> >> --
> >> To unsubscribe, e-mail:   <mailto:log4j-user-
> >[EMAIL PROTECTED]>
> >> For additional commands, e-mail: <mailto:log4j-user-
> >[EMAIL PROTECTED]>
> >
> >
> >
> >--
> >To unsubscribe, e-mail:   <mailto:log4j-user-
> >[EMAIL PROTECTED]>
> >For additional commands, e-mail: <mailto:log4j-user-
> >[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



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

Reply via email to