Changeset 508 for trunk/grails-app


Ignore:
Timestamp:
Apr 23, 2010, 5:53:20 PM (15 years ago)
Author:
gav
Message:

Base data is now created during bootstrap in all environments.
Add stdout log appender to test environment.
Add CreateDataServiceTests.

Location:
trunk/grails-app/conf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/BootStrap.groovy

    r504 r508  
    2020                log.info "Starting TEST bootstrap."
    2121                createDataService.ensureSystemAndAdminAccess()
     22                createDataService.createBaseData()
    2223            }
    2324            production {
    2425                log.info "Starting PRODUCTION bootstrap."
    2526                createDataService.ensureSystemAndAdminAccess()
     27                createDataService.createBaseData()
    2628            }
    2729        }
  • trunk/grails-app/conf/Config.groovy

    r481 r508  
    114114            // Configure the root logger to only output to appLog appender.
    115115            root {
    116                 error 'appLog'
     116                error 'stdout','appLog'
    117117                additivity = true
    118118            }
Note: See TracChangeset for help on using the changeset viewer.