#2802 Rtstats-format logging from allura - REQUIRES PROD.ini UPDATE

v1.0.0
closed
sf-4 (350)
General
2015-08-20
2011-09-14
No

Allura's zarkov logging should be changed to match the way we're doing it for classic rtstats:

  • write to a file instead of inserting directly to zarkov

See [#3337] for zarkov processing and [#3338] for the scm events

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-10-13
    • labels: zarkov --> zarkov, migration
     
  • Dave Brondsema

    Dave Brondsema - 2011-10-28
    • milestone: forge-backlog --> forge-nov-25
     
  • Dave Brondsema

    Dave Brondsema - 2011-11-11
    • size: --> 4
     
  • John Hoffman - 2011-11-22
    • status: open --> in-progress
    • assigned_to: John Hoffmann ☠
     
  • John Hoffman - 2011-11-28
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -3,4 +3,5 @@
     * write to a file instead of inserting directly to zarkov
         * siteops will have to enable `stream-watched-globs.py` for these new allura logs
     * change format to match the rtstats format
    -* add zarkov events for SVN, Hg, Git commits in the right formats (we don't think we have anything for those yet)
    +
    +See [#3337] for zarkov processing and [#3338] for the scm events
    
     
  • John Hoffman - 2011-11-28
    • summary: Rtstats-format logging from allura --> Rtstats-format logging from allura - REQUIRES PROD.ini UPDATE
     
  • John Hoffman - 2011-11-28
    # diff -du production.ini.old production.ini
    --- production.ini.old  2011-11-28 21:53:18.000000000 +0000
    +++ production.ini  2011-11-28 21:48:53.000000000 +0000
    @@ -315,7 +315,7 @@
    
     [handler_stats]
     class = allura.lib.utils.StatsHandler
    -args = ('/var/local/stats/allura-events/event.log', 'allura', 1)
    +args = ('/var/local/stats/allura-events/event.%Y-%m-%d.log', 'allura', 1)
     level = NOTSET
     formatter = stats
    
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -1,7 +1,5 @@
     Allura's zarkov logging should be changed to match the way we're doing it for classic rtstats:
    
     * write to a file instead of inserting directly to zarkov
    -    * siteops will have to enable `stream-watched-globs.py` for these new allura logs
    -* change format to match the rtstats format
    
     See [#3337] for zarkov processing and [#3338] for the scm events
    
     
  • John Hoffman - 2011-11-28
    • status: in-progress --> code-review
    • assigned_to: John Hoffmann ☠ --> Tim Van Steenburgh
     
  • John Hoffman - 2011-11-28

    To ssh://engr.geek.net/forge
    4e140c9..91de16f HEAD -> jwh/2802

    • Update your production.ini using the strftime format from a previous comment
    • Create a new ticket, close it
    • Create a new forum thread/post
    • Check the events in /var/local/stats/allura-events/event.*
    • Eat moar turkie
     
    • status: code-review --> closed
    • assigned_to: Tim Van Steenburgh --> John Hoffmann ☠
    • qa: Tim Van Steenburgh
     
  • Added a commit to fix the double-logging of "install tool" actions. Merged to dev.

     

Log in to post a comment.