public function init($parameters)
    {
        if (empty($parameters["log_path"])) {
            throw new \Exception("Log path is not specified!");
        }
        
        $this->log_path = $parameters["log_path"];
        
        if (!file_exists($this->log_path) || !is_writable($this->log_path)) {
            throw new \Exception(sprintf("The log path '%s' is not writable!", $this->log_path));
        }
        
        return true;
    }