Changeset 598 for trunk/grails-app
- Timestamp:
- Jun 17, 2010, 10:52:06 PM (15 years ago)
- Location:
- trunk/grails-app/conf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/Config.groovy
r595 r598 58 58 * Basic log levels are ALL < TRACE < DEBUG < INFO < WARN < ERROR < FATAL < OFF 59 59 */ 60 // Pickup the Tomcat/Catalina logDirectory else use the currentdir.60 // Pickup the Tomcat/Catalina work directory else use the current or temp dir. 61 61 def catalinaBase = System.properties.getProperty('catalina.base') 62 def logDirectory = catalinaBase ? "${catalinaBase}/logs" : '.' 62 def fs = File.separator 63 def logDirectory = catalinaBase ? "${catalinaBase}${fs}logs${fs}" : '' 63 64 64 65 log4j = { … … 72 73 // Custom log file. 73 74 rollingFile name:"appLog", 74 file:"${logDirectory} /${appName}.log".toString(),75 file:"${logDirectory}${appName}.log".toString(), 75 76 maxFileSize:'300kB', 76 77 maxBackupIndex:1, -
trunk/grails-app/conf/Searchable.groovy
r571 r598 32 32 * The default is "${user.home}/.grails/projects/${app.name}/searchable-index/${grails.env}" 33 33 */ 34 // Pickup the Tomcat/Catalina work directory else use the current dir.34 // Pickup the Tomcat/Catalina work directory else use the current or temp dir. 35 35 def catalinaBase = System.properties.getProperty('catalina.base') 36 def indexDirectory = catalinaBase ? "${catalinaBase}/work/lucene/${appName}" : './target/lucene' 36 def fs = File.separator 37 def indexDirectory = catalinaBase ? "${catalinaBase}${fs}work${fs}Lucene${fs}" : "Lucene${fs}" 37 38 38 compassConnection = new File( indexDirectory).absolutePath39 compassConnection = new File("${indexDirectory}${appName}").absolutePath 39 40 40 41 /**
Note: See TracChangeset
for help on using the changeset viewer.