diff options
| author | 2019-01-06 00:46:48 +0100 | |
|---|---|---|
| committer | 2019-01-06 00:46:48 +0100 | |
| commit | 802c264574902ea44c2c76ae098a6f58911fe114 (patch) | |
| tree | db0082010f01f555244523adc2f2e0c27c363acc /app/Models/Entry.php | |
| parent | 20223b8b01f47fba0858d854c5744fad5900b9cc (diff) | |
Copy syslog to STDERR (#2208)
* Use openlog before syslog
In order to have a copy on stderr when syslog is not available.
* Take advantage of syslog for actualization
Pipe cron job STDERR and syslog to Docker log
Cf. https://github.com/FreshRSS/FreshRSS/pull/2202/commits/00bd467655b7c060cdae388519b2413d12d8cb0f
Diffstat (limited to 'app/Models/Entry.php')
| -rw-r--r-- | app/Models/Entry.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php index 985276734..f2f3d08fe 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -209,6 +209,7 @@ class FreshRSS_Entry extends Minz_Model { $feed_timeout = empty($attributes['timeout']) ? 0 : intval($attributes['timeout']); if ($system_conf->simplepie_syslog_enabled) { + prepareSyslog(); syslog(LOG_INFO, 'FreshRSS GET ' . SimplePie_Misc::url_remove_credentials($url)); } |
