public function setSwooleLogFile()

in provider/core/server/BaseServer.php [154:168]


	public function setSwooleLogFile($cmd)
	{
		if($cmd == 'start' || $cmd == 'restart' || $cmd == 'extstart')
		{
            $this->logger->info($this->processName.'.deploy:{'
																."\"server\":".json_encode($this->config['server']) .','
																."\"setting\":".json_encode($this->config['setting']).'}');
            $this->logger->info('fsof.ini:{'."\"fsof_setting\":".json_encode($this->config['fsof_setting']).'}');
		}
        if(isset($this->config['server']['swoole_log_path']) && !empty($this->config['server']['swoole_log_path'])){
            $this->setting['log_file'] = $this->config['server']['swoole_log_path'];
        }else{
            $this->setting['log_file'] = '/var/fsof/provider/'.$this->processName.'_swoole.log';
        }
	}