locked
Activity Logging RRS feed

  • Question

  • Hello,
    How can i change the activity logging at TFS 2008.
    How long is the default value for logging?
    How can i set them to 6 months or one year?

    thanks for your answer,
    Horst


    Thanks, Horst --------------------------------------------------------- MOSS 2007 - SP2: 2 WFE's, 1 App (CA), 2 SQL 2005 Server - Mirror, 1 TFS 2008
    Thursday, March 4, 2010 2:14 PM

Answers

  • Short questions, short answers ;)


    The defualt length is 14 days

    And now the info I gues your after :)

    In TFS2008 the Activity logging is truncated through a SQL jobb. Under \Sql Server Agent\Jobs you will find TfsActivityLogging Administration Job
    It contains 1 step Prune Command Logs calling this EXEC prc_PruneCommands @maxAgeDays = 14
    Simply edit the command to change the @maxAgeDays to meet your requirements



    • Proposed as answer by Sanjeev.Kumar Friday, March 5, 2010 12:34 PM
    • Marked as answer by wuwu Sunday, March 7, 2010 8:38 AM
    Thursday, March 4, 2010 2:53 PM

All replies

  • Short questions, short answers ;)


    The defualt length is 14 days

    And now the info I gues your after :)

    In TFS2008 the Activity logging is truncated through a SQL jobb. Under \Sql Server Agent\Jobs you will find TfsActivityLogging Administration Job
    It contains 1 step Prune Command Logs calling this EXEC prc_PruneCommands @maxAgeDays = 14
    Simply edit the command to change the @maxAgeDays to meet your requirements



    • Proposed as answer by Sanjeev.Kumar Friday, March 5, 2010 12:34 PM
    • Marked as answer by wuwu Sunday, March 7, 2010 8:38 AM
    Thursday, March 4, 2010 2:53 PM
  • Hello Mattias,

    yes thats it, short and right!

    best regards,
    Horst
    Thanks, Horst --------------------------------------------------------- MOSS 2007 - SP2: 2 WFE's, 1 App (CA), 2 SQL 2005 Server - Mirror, 1 TFS 2008
    Sunday, March 7, 2010 8:38 AM