Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.0.0-b1
-
Component/s: None
-
Labels:None
Description
Currently log files use the name format "general-[message level]-[date].log"
When logging from the cron we should use a different file name to prevent conflicts of file ownership. "general-[message level]-[date]-cron.log"
The second answer on this thread seems like a fairly robust solution https://stackoverflow.com/questions/933367/php-how-to-best-determine-if-the-current-invocation-is-from-cli-or-web-server
Issue Links
- blocks
-
CORE-3936 System Status: Update log file ownership check
- Closed