Changeset 358 for trunk/grails-app/controllers/AppCoreController.groovy
- Timestamp:
- Feb 16, 2010, 9:01:07 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AppCoreController.groovy
r318 r358 1 1 import org.codehaus.groovy.grails.plugins.springsecurity.Secured 2 import org.codehaus.groovy.grails.commons.* 2 3 3 4 /** … … 193 194 } 194 195 196 /** 197 * Render the application log file. 198 */ 199 @Secured(['ROLE_AppAdmin']) 200 def appLog = { 201 def file = new File(ConfigurationHolder.config.log4j.appenders.appLog.file) 202 203 // Success. 204 [log: file.text] 205 } 206 195 207 } // end of class.
Note: See TracChangeset
for help on using the changeset viewer.