diff options
author | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2019-10-14 16:35:08 +0300 |
---|---|---|
committer | Andrejs Kozlovs <andrejs.kozlovs@zabbix.com> | 2019-10-14 16:42:27 +0300 |
commit | b1af774e3fd798c6bb862d4acb688b102e7bbcaf (patch) | |
tree | 63acd958121f3647bcc702a28d9afebebd43d452 /include/log.h | |
parent | 4293c1e9afbb7d0d7675f938288fbb802b54f621 (diff) |
...G...PS. [ZBX-16534] fixed stdout and stderr redirection after external log rotation
* commit '98fc096fc67881eddb7d9923d42936d5dffba1e2':
.D........ [ZBX-16534] added ChageLog
.D........ [ZBX-16534] added ChageLog
...G...PS. [ZBX-16534] fixed redirection in case when there is only stdout output
...G...PS. [ZBX-16534] removed redundant code
...G...PS. [ZBX-16534] redirect output only after environment change
...G...PS. [ZBX-16534] restored forgotten line
...G...PS. [ZBX-16534] fixed stdout and stderr redirection after external log rotation
...G...PS. [ZBX-16534] revert all changes
...G...PS. [ZBX-16534] rename function in correct order
...G...PS. [ZBX-16534] help screeen alignment
...G...PS. [ZBX-16534] fixed stdout and stderr redirection after external log rotation
(cherry picked from commit eafdd5e16d738a278de97fa2ddaac4cc8559745d)
(cherry picked from commit 0ba442fac0c3269b8e1c37b365905f926a4141da)
(cherry picked from commit b357077f4dec3f4a5cf589886d7a362ea100fbdf)
Diffstat (limited to 'include/log.h')
-rw-r--r-- | include/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/log.h b/include/log.h index c09628c74a6..46f47206635 100644 --- a/include/log.h +++ b/include/log.h @@ -90,7 +90,7 @@ char *strerror_from_system(unsigned long error); char *strerror_from_module(unsigned long error, const wchar_t *module); #endif -void zbx_redirect_stdio(const char *filename); +int zbx_redirect_stdio(const char *filename); void zbx_handle_log(void); |