Continuum
  1. Continuum
  2. CONTINUUM-2553

Log more information when purging directories

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.6
    • Fix Version/s: 1.4.1
    • Component/s: None
    • Labels:
      None

      Description

      When you click the purge icon next to a directory purge on .../continuum/purgeConfigList.action, if there is nothing to purge, nothing gets logged.

      Combined with the fact that nothing appears on the screen, you have no idea whether it worked or not.

      I reduced the number of days to keep release directories, purged again, and finally saw some messages like:

      2010-08-04 07:10:29,105 [pool-7-thread-1] INFO org.apache.continuum.purge.executor.DaysOldDirectoryPurgeExecutor - Purge All Directory Contents - releases-1276484258328

      The purge process needs to log when it begins and ends (similar to the local repo purge) so you can tell what's happening.

        Activity

        Wendy Smoak created issue -
        Wendy Smoak made changes -
        Field Original Value New Value
        Description When you click the purge icon next to a directory purge on .../continuum/purgeConfigList.action, if there is nothing to purge, nothing gets logged.

        Combined with the fact that nothing appears on the screen, you have no idea whether it worked or not.

        I reduced the number of days to keep release directories purged again and finally saw some messages like:

        2010-08-04 07:10:29,105 [pool-7-thread-1] INFO org.apache.continuum.purge.executor.DaysOldDirectoryPurgeExecutor - Purge All Directory Contents - releases-1276484258328

        The purge process needs to log when it begins and ends (similar to the local repo purge) so you can tell what's happening.

        When you click the purge icon next to a directory purge on .../continuum/purgeConfigList.action, if there is nothing to purge, nothing gets logged.

        Combined with the fact that nothing appears on the screen, you have no idea whether it worked or not.

        I reduced the number of days to keep release directories, purged again, and finally saw some messages like:

        2010-08-04 07:10:29,105 [pool-7-thread-1] INFO org.apache.continuum.purge.executor.DaysOldDirectoryPurgeExecutor - Purge All Directory Contents - releases-1276484258328

        The purge process needs to log when it begins and ends (similar to the local repo purge) so you can tell what's happening.

        Brett Porter made changes -
        Fix Version/s 1.4.1 (Beta) [ 15104 ]
        Maria Catherine Tan made changes -
        Assignee Maria Catherine Tan [ ctan ]
        Hide
        Maria Catherine Tan added a comment -

        fixed in -r1332045

        Show
        Maria Catherine Tan added a comment - fixed in -r1332045
        Maria Catherine Tan made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Maria Catherine Tan made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Hide
        Maria Catherine Tan added a comment -

        Fixed in -r 1332931, 1332932

        • moved logging to the controllers
        Show
        Maria Catherine Tan added a comment - Fixed in -r 1332931, 1332932 moved logging to the controllers
        Maria Catherine Tan made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
        Mark Thomas made changes -
        Workflow jira [ 12711197 ] Default workflow, editable Closed status [ 12740666 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
        Mark Thomas made changes -
        Workflow jira [ 12948076 ] Default workflow, editable Closed status [ 12983502 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        634d 11h 57m 1 Maria Catherine Tan 29/Apr/12 22:20
        Closed Closed Reopened Reopened
        2d 4h 8m 1 Maria Catherine Tan 02/May/12 02:29
        Reopened Reopened Closed Closed
        19m 33s 1 Maria Catherine Tan 02/May/12 02:49

          People

          • Assignee:
            Maria Catherine Tan
            Reporter:
            Wendy Smoak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development