- Timestamp:
- Apr 12, 2010, 12:03:46 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 *.log 1 *.log* 2 2 *.war 3 3 target
-
- Property svn:ignore
-
trunk/grails-app/conf/Config.groovy
r471 r480 74 74 file:"${logDirectory}/${appName}.log".toString(), 75 75 maxFileSize:'300kB', 76 maxBackupIndex: 0,76 maxBackupIndex:1, 77 77 layout:pattern(conversionPattern: '%d{[EEE, dd-MMM-yyyy @ HH:mm:ss.SSS]} [%t] %-5p %c %x - %m%n') 78 }79 80 // Configure the root logger to output to stdout and appLog appenders.81 root {82 error 'stdout','appLog'83 additivity = true84 78 } 85 79 … … 108 102 switch(environment) { 109 103 case 'development': 104 // Configure the root logger to output to stdout and appLog appenders. 105 root { 106 error 'stdout','appLog' 107 additivity = true 108 } 109 debug "org.hibernate.SQL" 110 110 debug "grails.app.service" 111 111 debug "grails.app.controller" 112 112 break 113 113 case 'test': 114 // Configure the root logger to only output to appLog appender. 115 root { 116 error 'appLog' 117 additivity = true 118 } 114 119 debug "grails.app.service" 115 120 debug "grails.app.controller" 116 121 break 117 122 case 'production': 123 // Configure the root logger to only output to appLog appender. 124 root { 125 error 'appLog' 126 additivity = true 127 } 118 128 warn "grails.app.service" 119 129 warn "grails.app.controller"
Note: See TracChangeset
for help on using the changeset viewer.