Sha256: 2360992348b462b9421ca22ae694dd092b0e328ba82b2fac77de0f7cc587f1e0

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

import com.twitter.conversions.time._
import com.twitter.logging.config._
import com.twitter.ostrich.admin.config._
import com.twitter.birdname.config._

// development mode.
new BirdNameServiceConfig {
	
  // Add your own config here
  
  // Where your service will be exposed.
  thriftPort = 9999

  // Ostrich http admin port.  Curl this for stats, etc
  admin.httpPort = 9900

  // End user configuration
  
  // Expert-only: Ostrich stats and logger configuration.  
  
  admin.statsNodes = new StatsConfig {
    reporters = new JsonStatsLoggerConfig {
      loggerName = "stats"
      serviceName = "birdname"
    } :: new TimeSeriesCollectorConfig
  }

  loggers =
    new LoggerConfig {
      level = Level.DEBUG
      handlers = new FileHandlerConfig {
        filename = "birdname.log"
        roll = Policy.SigHup
      }
    } :: new LoggerConfig {
      node = "stats"
      level = Level.INFO
      useParents = false
      handlers = new FileHandlerConfig {
        filename = "stats.log"
        formatter = BareFormatterConfig
      }
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scala-bootstrapper-0.9.1 lib/template/config/development.scala.erb
scala-bootstrapper-0.9.0 lib/template/config/development.scala.erb
scala-bootstrapper-0.8.1 lib/template/config/development.scala.erb
scala-bootstrapper-0.8.0 lib/template/config/development.scala.erb
scala-bootstrapper-0.7.2 lib/template/config/development.scala.erb