func (transfer *KTransfer) initLog() (err error) { err = logger.Init(transfer.logDir, "ktransfer", logger.LogLevel(transfer.logLevel)) if err != nil { return } sarama.Logger = newSaramaLogger() return }
func (km *KMonitor) initLog() error { return logger.Init(km.config.bc.logDir, "kmonitor", logger.LogLevel(km.config.bc.logLevel)) }
func (kp *KProxy) initLog() error { return logger.Init(kp.config.logDir, "kproxy", logger.LogLevel(kp.config.logLevel)) }
func (d *Deleter) initLog() (err error) { err = logger.Init(d.logDir, "cachedeleter", logger.LogLevel(d.logLevel)) return }
func (bs *BinStore) initLogger() error { sarama.Logger = newSaramaLogger() err := logger.Init(bs.config.logDir, "binstore", logger.LogLevel(bs.config.logLevel)) return err }