23 return hash(
"sha256", self::class);
28 return "Fill ini with settings for Services/Logging";
38 $common_config = $environment->getConfigFor(
"common");
46 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
48 $ini->setVariable(
"log",
"enabled", $this->config->isEnabled() ?
"1" :
"0");
49 $ini->setVariable(
"log",
"path", dirname($this->config->getPathToLogfile()));
50 $ini->setVariable(
"log",
"file", basename($this->config->getPathToLogfile()));
51 $ini->setVariable(
"log",
"error_path", $this->config->getErrorlogDir());
An exception for terminatinating execution or to throw for unit testing.
Signals that some goal won't be achievable by actions of the system ever.
getPreconditions(Setup\Environment $environment)
achieve(Setup\Environment $environment)
__construct(\ilLoggingSetupConfig $config)
An environment holds resources to be used in the setup process.
An objective is a desired state of the system that is supposed to be created by the setup.