Latest post Wed, Nov 9 2016 6:31 PM by robg. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • Tue, Nov 1 2016 12:08 PM

    • omsupport
    • Not Ranked
    • Joined on Tue, Aug 20 2013
    • Posts 83
    • Points 900

    WS logs

    I quite often find myself looking in c:\Program Files (x86)\Avid\Avid Interplay Web Services\logs when I need to debug problems, but I quite often find that there's no log for the date/time I'm interested in.

    I'm wondering if there's any way to control the amount of historical log information that's kept - via a registry setting, maybe?

    The logs tend to get very big very quickly because applications are polling Interplay every few seconds with a GetChildren request or similar.

  • Mon, Nov 7 2016 9:20 PM In reply to

    • robg
    • Top 500 Contributor
    • Joined on Fri, Nov 4 2005
    • Tewksbury, MA
    • Posts 494
    • Points 5,625
    • Avid Developer Moderator
      Avid Employee

    Re: WS logs

    omsupport,

    I spoke to the developer, and he said that there is no setting for the number of log files that are kept, but there was a recent change to increase the number files.

    What versions of Interplay Production and IPWS are you running?

    Also, you could create a small script to make copies of the log files and use the task scheduler to run it nightly. Like this:
      copy "C:\Program Files (x86)\Avid\Avid Interplay Web Services\logs\*.*" C:\ipws_logs\

    But then you would need to eventually delete them. This is best done with PowerShell. Here's a link that shows how: 
      http://www.howtogeek.com/131881/how-to-delete-files-older-than-x-days-on-windows/

    - Rob

     

     

  • Tue, Nov 8 2016 9:17 AM In reply to

    • omsupport
    • Not Ranked
    • Joined on Tue, Aug 20 2013
    • Posts 83
    • Points 900

    Re: WS logs

    Thanks Rob.

    We're using Interplay 2.3 with WS 2.7.5 (I know!) inhouse, but our customers are using all sorts of versions. I've been considering backing up the log files myself, but I guess I'd have to do some marginally clever stuff to avoid backing up the one that's currently been written to...

    Geoff.

  • Wed, Nov 9 2016 6:31 PM In reply to

    • robg
    • Top 500 Contributor
    • Joined on Fri, Nov 4 2005
    • Tewksbury, MA
    • Posts 494
    • Points 5,625
    • Avid Developer Moderator
      Avid Employee

    Re: WS logs

    omsupport,

    I have had success in copying text-based log files that are actively being written.

    1. The reads do not intefere with writes.
    2. Text files do not have any complex objects in them so reading partial data is not a problem.
    3. The next day's scan will copy the completed log file.
    - Rob

     

Page 1 of 1 (4 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller