Changeset 258


Ignore:
Timestamp:
Mar 1, 2012, 12:21:40 PM (8 years ago)
Author:
work@…
Message:

set log4j default appender to /var/log/metabolomicsModule-"environment".log as the default breaks on tomcat ubuntu

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

Legend:

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

    r257 r258  
    44
    55grails.server.port.http = 8083
    6 
    7 log4j = {
    8         appenders {
    9                 rollingFile name: "stacktrace", maxFileSize: 1024, file: "/var/log/metabolomicsModule-${grails.util.GrailsUtil.environment}.log"
    10         }
    11 }
    126
    137//grails.project.war.file = "target/${appName}-${appVersion}.war"
  • trunk/grails-app/conf/Config.groovy

    r253 r258  
    6060    //    console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n')
    6161    //}
     62        appenders {
     63                rollingFile name: "stacktrace", maxFileSize: 1024, file: "/var/log/metabolomicsModule-${grails.util.GrailsUtil.environment}.log"
     64        }
    6265
    6366        info   'org.dbxp'
Note: See TracChangeset for help on using the changeset viewer.