Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 57022 invoked by uid 500); 16 Aug 2001 13:52:50 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 57011 invoked from network); 16 Aug 2001 13:52:50 -0000 From: "Carsten Ziegeler" To: Subject: AW: [C2]: Unique request id Date: Thu, 16 Aug 2001 15:53:35 +0200 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <5074756bbb.56bbb50747@i-one.at> X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.5 |September 22, 2000) at 16.08.2001 15:52:49, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.5 |September 22, 2000) at 16.08.2001 15:52:49, Serialize complete at 16.08.2001 15:52:49 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Yes, I agree that it is good to have more information in the log, e.g the user-id etc. Feel free to send a patch for the log formats to add this (you can add all information available in the request object). Carsten > -----Ursprungliche Nachricht----- > Von: Bernhard Huber [mailto:bh22351@i-one.at] > Gesendet: Mittwoch, 15. August 2001 22:22 > An: cocoon-dev@xml.apache.org > Betreff: Re: AW: [C2]: Unique request id > > > Hi > Generating log-entries with a unique request-id helps > you as system-administrator to track everything for one > incoming request. > My experience to that sort of logging is that in an enterprise > you have to add application data like user-id,too. And some > department of wants to have logging entries not on the filesystem, > but in an database, etc.. > Thus an application running under Cocoon, has to add logging entries > adding the user-id. > > Thus there are a lot of different levels of logging... > If LogKit can handle all that than it does a big job, and > helps a lot! > > > ----- Originalnachricht ----- > Von: "Carsten Ziegeler" > Datum: Mittwoch, August 15, 2001 9:16 am > Betreff: AW: [C2]: Unique request id > > > > Bernhard Huber wrote: > > > > > > Hi, > > > What do hope to get by this unique request-id later? > > > Aren't user-id more interesting, so you can figure out > > > who has done what, http-request level may be too fine-grained. > > The user-id (or ip-address) is of course very interesting > > (if the user is not behind a firewall). It can already be > > included in the log, as the Request/Response objects are > > available in the log target. > > But a unique request-id can be used to filter the log > > to get all log entries which belong to one single request. > > The id itself has no meaning. > > > > Carsten > > > > > > > > ----- Originalnachricht ----- > > > Von: "Carsten Ziegeler" > > > Datum: Dienstag, August 14, 2001 5:33 pm > > > Betreff: [C2]: Unique request id > > > > > > > Hi, > > > > > > > > here another thought about logging: > > > > > > > > What about adding a unique identifier for the current request? > > > > This would allow us to identify which log entries belong to > > > > one single request. (Currently thread id and request uri > > > > could be used, but are of course not very usefull as at a > > > > later time the same thread id with the same request uri > > > > could be invoked). > > > > > > > > Is there any value we could use for this provided by the > > > > servlet api? If not what about adding a simple static > > > > counter for this. > > > > > > > > Thoughts? > > > > > > > > Carsten > > > > > > > > --------------------------------------------------------------- > > ---- > > > > -- > > > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > > > > For additional commands, email: cocoon-dev-help@xml.apache.org > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > -- > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > > For additional commands, email: cocoon-dev-help@xml.apache.org > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org