Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1470

Verbose fixstates

    Details

    • Type: New Feature
    • Status: QA
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0 beta1, 2.5.0
    • Component/s: None
    • Labels:
      None

      Description

      In scenarios with 10k or more associated devices it happens a fixstates lasts up to serveral hours. This feature gives the possibility to enable a more verbose fixstates to better follow its evolution and check its current status.

      Main features:

      • datetime is written next to main events
      • keeps the count of currently analyzed devices
      • moves to INFO level a few DEBUG level logs usefull to be monitored while executing fixstates in production enviroments, without having to give an extra load to the system by passing all log to DEBUG level.
      • It can be enabled by defining an optional LOGFIXSTATES value set to true in the configuration file
      // Verbose Fixstates
      define('LOGFIXSTATES', true);
      

       

      It also fixes an inaccuracy in "Checking for unreferenced (obsolete) state files: Processed: X - Deleted: Y" , as FixStatesUserToStatesLinking function was returning the count of processed and deleted state files of the last processed device only and not of the sum of all processed devices.

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Manfred Manfred Kutas
                  Reporter:
                  michele.lunardi Michele Lunardi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: