>From what I can tell <cflog> only lets you append messages to the log file.
I was hoping to actually archive all messages after my grab.

Jonathon

-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Sunday, July 15, 2007 4:23 AM
To: CF-Talk
Subject: Re: accessing log files programatically

<cflog> not give you what you need?







"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Jonathon Stierman
To: CF-Talk
Sent: Sun Jul 15 00:35:49 2007
Subject: accessing log files programatically

Anyone know of a good way to (1) get data out of the CF log files, and (2)
archive the log files after getting the data?

 

I poked around the Admin API hoping to find something related to logging in
there, but no dice as far as I could tell.

 

So relucatantly, I toyed around with doing <cffile> actions, which works
alright to get the data.  But writing back to the log file doesn't seem to
have the desired effect.  It doesn't seem to crash anything, but I do get
some strange formatting issues (lots of extra white space for any error) for
any errors that occur after I "archive" the log. 

 

What have you guys done to fetch data out of the log files programatically?

 

Jonathon 








~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283729
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to