none
configuring log settings for the connector on Windows RRS feed

  • Question

  • Is there a way to configure the Connector on windows to have logs with larger capacity?
    Meaning keeping more information in the logs.
    We currently have the debug level set to 4 (Which is what we want since we want to get as much info as possible for the time being).
    The 10 logs are wrapping pretty quickly, and we have like 7 hours of data.
    They are only 2 megs each.
    So configuring them to lets say 20 megs each would have me see data from a few days back, and this is what I need..
    To be able to view data a few days back or even a week back.
    So, any way we can do this?

    Log file location:

    C:\Documents and Settings\SVC-MOMSDK\Local Settings\Application Data\Microsoft\OpsMgr Connector for HP OpenView Operations\SCInterop.log

    Config File location:

    E:\Program Files\System Center Operations Manager 2007 R2 Connectors\OpsMgr Connector for HP OpenView Operations\ConnectorService.exe.config

    Content of the config file:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
     <appSettings>
            <add key="connectorname" value="OpsMgr Connector for HP OpenView Operations"/>
            <add key="connectordescription" value="OpsMgr Connector for HP OpenView Operations"/>
            <add key="connectorloglocation" value=""/>
      </appSettings>
      <system.diagnostics>
        <switches>
          <!-- This switch controls general messages. In order to
             receive general trace messages change the value to the
             appropriate level. "1" gives error messages, "2" gives errors
             and warnings, "3" gives more detailed error information, and
             "4" gives verbose trace information -->
          <add name="SCInterop" value="4"/>
        </switches>
      </system.diagnostics>
    </configuration>

    • Moved by Robert_Hearn Tuesday, March 9, 2010 7:16 PM migrated (From:Interop - HP Operations Manager Connector)
    Friday, November 6, 2009 8:09 PM

Answers

  • Currently not possible. The size and number of files to keep are hard coded. I'll create a bug to address this in the next release. For now you could write a script that copies them off to a file share every couple hours.

    -Steve
    • Marked as answer by Norm72 Monday, November 9, 2009 7:04 PM
    Friday, November 6, 2009 8:57 PM
    Moderator