Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4653

Daily logging of t5memory specificData

XMLWordPrintable

    • Critical
    • The specificData field for t5memory language resources is logged daily separately for easier backup usage of the TMs.

      problem

      When restoring and using the TMs from the backup, there may be more TMs on the disk (due splitting) as currently really needed and used. The really needed ones are defined in the specificData field of the language resource.

      solution / todo

      Via the daily cron job we should log the specificData for each t5memory language resource into a separate log file data/logs/t5memory-specificData.log

      Format of the logfile should be:

      Current Time Stamp; tmprefix; LanguageResource ID; Name; specificData as Json one liner

      The new log file should be added to the logrotate config in application/modules/editor/src/Logging/Rotation.php // at least checked if it rotates, since rotation config should cover all logfiles in the logs dir.

            sanya@mittagqi.com Sanya Mikhliaiev
            tlauria Thomas Lauria
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: