Cflog - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

cflog

Description
Writes a message to a log file.
Category
Data output tags
Syntax
<cflog
text = "text"
log = "log type"
file = "filename"
type = "message type"
application = "application name yes or no">
See also
cfcol, cfcontent, cfoutput,
History
ColdFusion MX: Deprecated the
might cause an error, in later releases. (In earlier releases, these attributes determined whether the
respective data items were output to the log. In ColdFusion MX, this data is always output.)
Attributes
Attribute
Req/Opt
text
Required
log
Optional
file
Optional
type
Optional
application
Optional
226
Chapter 2: ColdFusion Tags
cftable
,
thread
date
Default
Description
Message text to log.
If you omit the
log file. Ignored, if you specify
• Application: writes to Application.log, normally used for
application-specific messages.
• Scheduler: writes to Scheduler.log, normally used to log
the execution of scheduled tasks.
Message file. Specify only the main part of the filename. For
example, to log to the Testing.log file, specify "Testing".
The file must be located in the default log directory. You
cannot specify a directory path. If the file does not exist, it is
created automatically, with the suffix .log.
Information
Type (severity) of the message:
• Information
• Warning
• Error
• Fatal Information
Yes
• Yes: log application name, if it is specified in a
cfapplication
• No
, and
attributes. They might not work, and
time
attribute, writes messages to standard
file
file
tag.
attribute.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents