Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    specialLogUsers gone in 2.4?

    General usage of Z-Push
    3
    6
    853
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • liverpoolfcfan
      liverpoolfcfan last edited by

      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.

      define('LOGUSERLEVEL', LOGLEVEL_WBXML);
      $specialLogUsers = array();
      $specialLogUsers[] = 'username';
      

      Is there a new requirement for using this feature?

      1 Reply Last reply Reply Quote 0
      • Manfred
        Manfred Kopano last edited by

        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?

        Manfred

        1 Reply Last reply Reply Quote 0
        • liverpoolfcfan
          liverpoolfcfan last edited by

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

          1 Reply Last reply Reply Quote 0
          • liverpoolfcfan
            liverpoolfcfan last edited by

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

            1 Reply Last reply Reply Quote 0
            • liverpoolfcfan
              liverpoolfcfan last edited by

              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?

              1 Reply Last reply Reply Quote 0
              • Sebastian
                Sebastian Kopano last edited by

                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?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post