Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
If a log file is not writeable, set default permissions in LoggerAppenderFile:
/** * Sets the file where the log output will go. * @param string $file */ public function setFile($file) { if (is_file($file) && !is_writable($file)) { chmod($file, 0755); } $this->setString('file', $file); }
Attachments
Issue Links
- is a clone of
-
LOG4PHP-27 Add the option of defining permissions of a log file
- Open