Changeset 2661
- Timestamp:
- 10/01/09 00:02:45 (4 years ago)
- Location:
- coldbox/trunk/system/logging
- Files:
-
- 2 modified
-
appenders/DBAppender.cfc (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
coldbox/trunk/system/logging/appenders/DBAppender.cfc
r2550 r2661 18 18 - autocreate : if true, then we will create the table. Defaults to false (Optional) 19 19 - ensureChecks : if true, then we will check the dsn and table existence. Defaults to true (Optional) 20 20 - textDBType : Defaults to 'text'. This is used on the autocreate features of the appender for the 21 message and extended info fields. This is the actual database type. 22 21 23 The columns needed in the table are 22 24 … … 65 67 if( NOT propertyExists("ensureChecks") ){ 66 68 setProperty("ensureChecks",true); 69 } 70 if( NOT propertyExists("textDBType") ){ 71 setProperty("textDBType","text"); 67 72 } 68 73 … … 169 174 #listgetAt(cols,4)# DATETIME NOT NULL, 170 175 #listgetAt(cols,5)# VARCHAR(100) NOT NULL, 171 #listgetAt(cols,6)# TEXT,172 #listgetAt(cols,7)# TEXT,176 #listgetAt(cols,6)# #getProperty("textDBType")#, 177 #listgetAt(cols,7)# #getProperty("textDBType")#, 173 178 PRIMARY KEY (id) 174 179 ) -
coldbox/trunk/system/logging/readme.txt
r2660 r2661 78 78 == Version 1.0 RC 2 (October 2009) == 79 79 * Fix for adding categories via XML 80 * DBAppender new property textDBType to choose the text db type instead of the default 'text' 80 81 81 82 == Version 1.0 Beta (August, 2009) ==
