Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 61159 invoked from network); 28 Oct 2005 11:24:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Oct 2005 11:24:55 -0000 Received: (qmail 19941 invoked by uid 500); 28 Oct 2005 11:24:49 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 19339 invoked by uid 500); 28 Oct 2005 11:24:47 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 19328 invoked by uid 99); 28 Oct 2005 11:24:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2005 04:24:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.231.131.67] (HELO mail17.messagelabs.com) (62.231.131.67) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 28 Oct 2005 04:24:44 -0700 X-VirusChecked: Checked X-Env-Sender: remo.liechti@swisslog.com X-Msg-Ref: server-4.tower-17.messagelabs.com!1130498662!19821345!1 X-StarScan-Version: 5.5.9.1; banners=swisslog.com,-,- X-Originating-IP: [62.2.247.20] Received: (qmail 2393 invoked from network); 28 Oct 2005 11:24:23 -0000 Received: from 62-2-247-20.business.cablecom.ch (HELO schb7sw3-011.schb7.swisslog.net) (62.2.247.20) by server-4.tower-17.messagelabs.com with SMTP; 28 Oct 2005 11:24:23 -0000 Content-class: urn:content-classes:message Subject: RE: Logging - I need a concept MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Oct 2005 13:24:16 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Message-ID: <633BB4DF7F45734B841BF0FD012734BC0E5B0B@schb7sw3-011.schb7.swisslog.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Logging - I need a concept Thread-Index: AcXbrJIfTl/9cEIHTfCYB1VBuIJC7wAAQavgAADuZtA= From: "Remo Liechti" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Yes,=20but=20this=20logs=20also=20stuff=20I=20dont=20need...=20Like: getDocuments: =20=20=20=20=20=20[ftp]=20sending=20files =20=20=20=20=20=20[ftp]=201=20files=20sent =20=20=20[delete]=20Deleting=201=20files=20from=20C:\temp\mssDocPublisher This=20part=20should=20look=20like=20this=20in=20the=20logile: Sending=20Zip=20file=20"myFile.zip"=20to=20myFTPServer/sopme/location,=20c= ontaining: -=20File=201 -=20File=202 -=20File=203 -=20... Deleted=20file=20"MyFile.zip"=20from=20from=20C:\temp\mssDocPublisher You=20see,=20I=20need=20a=20very=20different=20logger=20to=20do=20such=20t= hings.=20May=20be=20it=20is=20possible=20to=20run=20a=20loger=20on=20its=20= own=20and=20send=20the=20information=20that=20has=20to=20be=20logged=20to=20= it?=20I=20mean,=20I=20write=20a=20small=20Java=20logger=20which=20is=20abl= e=20to=20receive=20data=20somehow,=20and=20it=20writes=20the=20data=20in=20= the=20log=20file.=20This=20loger=20has=20to=20be=20started=20via=20the=20a= nt=20scripot=20as=20the=20first=20action=20and=20shut=20down=20at=20the=20= end. Or=20something=20like=20this?=20If=20so,=20how=20can=20I=20communicate=20f= rom=20ant=20to=20this=20loger? Or=20is=20it=20possible=20to=20write=20an=20ant=20task=20which=20logs=20th= e=20information=20and=20which=20can=20be=20accesed=20out=20of=20my=20three= =20hava=20programs? Remo >=20-----Original=20Message----- >=20From:=20Jan.Materne@rzf.fin-nrw.de=20[mailto:Jan.Materne@rzf.fin-nrw.d= e]=20 >=20Sent:=20Freitag,=2028.=20Oktober=202005=2012:52 >=20To:=20user@ant.apache.org >=20Subject:=20AW:=20Logging=20-=20I=20need=20a=20concept >=20 >=20Hi=20Remo, >=20 >=20have=20you=20tried=20the=20"-logfile"=20option? >=20 >=20 >=20Jan=20 >=20 >=20>-----Urspr=FCngliche=20Nachricht----- >=20>Von:=20Remo=20Liechti=20[mailto:remo.liechti@swisslog.com] >=20>Gesendet:=20Freitag,=2028.=20Oktober=202005=2012:44 >=20>An:=20Ant=20Users=20List >=20>Betreff:=20Logging=20-=20I=20need=20a=20concept >=20> >=20>Hi=20all >=20>I=20have=20to=20implement=20a=20loging=20function=20to=20my=20ant=20s= cripts,=20but=20 >=20I=20really=20 >=20>don't=20know=20how=20to=20do=20it... >=20> >=20>I=20got=20a=20script=20like=20this=20like=20the=20one=20attached. >=20> >=20>In=20this=20script=20I=20have=20some=20echos,=20do=20some=20file=20de= leting,=20ftp=20 >=20upload=20and=20 >=20>call=20three=20java=20programs. >=20> >=20>The=20stuff=20that=20has=20to=20be=20logged=20in=20ONE=20file=20SOMWH= ERE(this=20 >=20location=20has=20 >=20>to=20be=20configurable).=20I=20write=20the=20things=20in=20order=20li= ke=20they=20 >=20run=20in=20the=20 >=20>script >=20> >=20>Who=20started=20the=20script=20->=20username=20of=20the=20windows=20l= ogged-in=20 >=20user=20When=20 >=20>did=20he=20start=20the=20script=20Which=20files=20have=20been=20delet= ed=20from=20which=20 >=20>location=20The=20system=20outputs=20of=20the=20java=20programs=20The=20= echos=20 >=20of=20the=20ant=20 >=20>script,=20and=20the=20echos=20of=20the=20subscripts=20proceeded=20by=20= the=20"ant"=20task. >=20>Which=20ftp=20actions=20proceeded:=20example:=20which=20files=20have=20= been=20 >=20uploaded=20to=20 >=20>which=20location >=20> >=20>I=20read=20the=20Listeners=20&=20Loggers=20page=20in=20the=20ant=20 >=20documentation,=20but=20didnt=20 >=20>get=20it=20how=20to=20realise=20such=20a=20logging=20I=20need. >=20> >=20>Any=20hints=20or=20ideas? >=20> >=20>Thanks >=20> >=20>Remo >=20> >=20> >=20> >=20> >=20>Remo=20Liechti >=20>-- >=20>Swisslog=20AG >=20>Webereiweg=203 >=20>Postfach=20155 >=20>CH=20-=205033=20Buchs/AG >=20> >=20>Phone:=20+41=20(0)62=20837=2043=2045 >=20>Fax:=20+41=20(0)62=20837=2044=2099 >=20>www.swisslog.com >=20>remo.liechti@swisslog.com >=20>--------------------------------------------------------------- >=20>--------- >=20>------------ >=20> >=20> >=20>About=20Swisslog >=20>Swisslog=20is=20a=20global=20provider=20of=20integrated=20logistic=20= solutions=20for=20 >=20>warehouses,=20distribution=20centers=20and=20hospitals. >=20>Swisslog's=20solutions=20increase=20their=20customer's=20flexibility,= =20 >=20>responsiveness=20and=20quality=20of=20service,=20while=20minimizing=20= logistics=20 >=20>costs. >=20> >=20>____________________________________________________________ >=20>This=20message=20may=20contain=20legally=20privileged=20or=20confiden= tial=20 >=20information=20 >=20>and=20is=20therefore=20addressed=20to=20the=20named=20persons=20only.= >=20>The=20recipient=20should=20inform=20the=20sender=20and=20delete=20thi= s=20message,=20if=20 >=20>he/she=20is=20not=20named=20as=20addressee. >=20>The=20sender=20disclaims=20any=20and=20all=20liability=20for=20the=20= integrity=20and=20 >=20>punctuality=20of=20this=20message. >=20>The=20sender=20has=20activated=20an=20automatic=20virus=20scanning=20= by=20Messagelabs,=20 >=20>but=20does=20not=20guarantee=20the=20virus=20free=20transmission=20of= =20this=20message. >=20> >=20 >=20--------------------------------------------------------------------- >=20To=20unsubscribe,=20e-mail:=20user-unsubscribe@ant.apache.org=20For=20= >=20additional=20commands,=20e-mail:=20user-help@ant.apache.org >=20 >=20 >=20____________________________________________________________ >=20This=20message=20has=20been=20checked=20for=20all=20known=20viruses=20= by=20Messagelabs. >=20 ____________________________________________________________ This=20message=20may=20contain=20legally=20privileged=20or=20confidential=20= information=20and=20is=20therefore=20addressed=20to=20the=20named=20person= s=20only.=20 The=20recipient=20should=20inform=20the=20sender=20and=20delete=20this=20m= essage,=20 if=20he/she=20is=20not=20named=20as=20addressee.=20 The=20sender=20disclaims=20any=20and=20all=20liability=20for=20the=20integ= rity=20 and=20punctuality=20of=20this=20message.=20 The=20sender=20has=20activated=20an=20automatic=20virus=20scanning=20by=20= Messagelabs,=20but=20does=20not=20guarantee=20the=20virus=20free=20 transmission=20of=20this=20message. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org