specialLogUsers gone in 2.4?

  • In z-push 2.4 beta I am trying to run a debug log for one user and have added them to the $specialLogUsers array as I have always done, however, nothing is being logged.

    $specialLogUsers = array();
    $specialLogUsers[] = 'username';

    Is there a new requirement for using this feature?

  • Kopano

    Hi liverpoolfcfan,

    No, that works as before. What we added was https://jira.z-hub.io/browse/ZP-1104 which now logs every device of a user to a separate file.

    Does the general logging work?


  • Yes. z-push.log and z-push-error.log are updating as normal

  • Where should I add debug code to try to figure out what the issue is?

  • I finally restarted the web server this morning and the log files have started to appear.

    I wonder if the issue is that on Centos6 with Apache 2.4 and PHP 5.6 from the centos-sclo-rh software collections repo that the web server process is called httpd24-httpd rather than just httpd?

    Does the z-push install only try to restart or re-load the hpptd process?

  • Kopano

    Normally Z-Push doesn’t require an apache restart and does also not enforce it. The new code is just used when it’s there.
    Sounds very much like you have some php caching (like APC) installed that caches the old Z-Push code and is cleared on restart. Could that be?

Log in to reply