Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8754

Re: Where am I?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date Thu, 13 Oct 2011 03:36:23 -0500
Date Thu, 13 Oct 2011 09:36:23 +0100
From bugbear <bugbear@trim_papermule.co.uk_trim>
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110429 Fedora/2.0.14-1.fc13 SeaMonkey/2.0.14
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: Where am I?
References <tmac97tlq14j1tk7tfmule337v9sc6q1rh@4ax.com> <kbqlq.4477$wF1.2371@newsfe21.iad>
In-Reply-To <kbqlq.4477$wF1.2371@newsfe21.iad>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <GoidncgLJaqaPgvTnZ2dnUVZ8lmdnZ2d@brightview.co.uk> (permalink)
Lines 13
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-rakjpC9Ch1ZYxjlTe2h1ozuHYYikgiNk9O1AJs0YHnPXPkQLEPMGARhyMJJ4sBuvBOgSerpnf/0doFl!uRcXHFgkXDNhJKPHToKj4RdZA6tLKGmSHpO1PgGaq03mIe5qRWYu2hWGb2juKBk9oU+GkVLSEgQJ!Jx+Kjdn/4tTTw/Qd4onDI3lZjg==
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1704
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8754

Show key headers only | View raw


Daniel Pitts wrote:
> On 10/12/11 5:04 PM, Roedy Green wrote:
>> It would be nice for debugging to include the line number of where the
>> code is when printing out the error message. Is there a simple way to
>> get it, or do you need to create a Throwable then analyse the
>> stacktrace?
> Most logging frameworks support that, and many of those frameworks are
> open-source. log4j for instance. Perhaps it would be worthwhile looking
> at how that approach that problem.

Or just *use* log4j.

   BugBear

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Where am I? Roedy Green <see_website@mindprod.com.invalid> - 2011-10-12 17:04 -0700
  Re: Where am I? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-12 17:22 -0700
    Re: Where am I? bugbear <bugbear@trim_papermule.co.uk_trim> - 2011-10-13 09:36 +0100
      Re: Where am I? Arne Vajhøj <arne@vajhoej.dk> - 2011-10-13 17:00 -0400
  Re: Where am I? Stanimir Stamenkov <s7an10@netscape.net> - 2011-10-13 03:23 +0300
    Re: Where am I? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-10-13 07:16 -0300
      Re: Where am I? Arne Vajhøj <arne@vajhoej.dk> - 2011-10-13 22:51 -0400
        Re: Where am I? Patricia Shanahan <pats@acm.org> - 2011-10-14 04:27 +0100
          Re: Where am I? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-10-14 07:26 -0300
            Re: Where am I? Arne Vajhøj <arne@vajhoej.dk> - 2011-10-14 18:17 -0400
    Re: Where am I? Roedy Green <see_website@mindprod.com.invalid> - 2011-10-13 10:51 -0700
  Re: Where am I? Ian Shef <invalid@avoiding.spam> - 2011-10-13 00:39 +0000
  Re: Where am I? markspace <-@.> - 2011-10-12 18:00 -0700

csiph-web