We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd48fb8 commit fe26133Copy full SHA for fe26133
src/SimpleSAML/Logger/FileLoggingHandler.php
@@ -89,11 +89,8 @@ public function __construct(Configuration $config)
89
sprintf("Could not write to logfile: %s", $this->logFile),
90
);
91
}
92
- } elseif (!$this->fileSystem->touch($this->logFile)) {
93
- throw new CannotWriteFileException(sprintf(
94
- "The logging directory is not writable for the web server user. Could not create logfile: %s",
95
- $this->logFile,
96
- ));
+ } else {
+ $this->fileSystem->touch($this->logFile);
97
98
99
$timeUtils = new Utils\Time();
0 commit comments