tracker issue : CF-3686422

select a category, or use search below
(searches all categories and all time range)
Title:

readLog()

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/EnhancementRequired

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 12/19/2013

Components: Language

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

It'd be jolly helpful if - as well as writing to log files - CFML allowed for reading from logfiles too. Obviously we can already read from a file, but log reading could be implemented a bit more intelligently that a raw file read, eg keeping a live connection to the file to read the latest log entry, or have them pushed out to the reader, etc.

But simply not having to horse around knowing where the log files are, and what their format is would be a great start.

-- 
Adam

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3686422

External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Interesting. API wise, what can be done is - it can take the file, a callbackhandler and perhaps some other options and keep calling the handler as and when it reads the content from the file. It can additionally take care of the log file being rotated etc. I don't think this API should understand the format and do the parsing of the log file content. That should be the responsibility of the application. Thoughts? We will anyway park it for the time being.
Comment by Rupesh K.
13819 | May 05, 2014 08:40:23 AM GMT
Please re-triage for CF12.
Comment by External U.
13820 | June 20, 2015 05:13:42 AM GMT