<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Session log timeout in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Session-log-timeout/m-p/96294#M44606</link>
    <description>&lt;P data-xf-p="1"&gt;We have several automated processes, and only one has an issue when the production team attempts to export the session log.&lt;/P&gt;
&lt;P data-xf-p="1"&gt;
&lt;/P&gt;&lt;P data-xf-p="1"&gt;"An error occurred while retrieving the logs. The request channel times out while waiting for a reply after 00:00:59. Increase the timeout value passed to the call Request or increase the Send Timeout value on the Binding. The time alotted to this operation may have been a portion of a longer timeout."&lt;/P&gt;
&lt;P data-xf-p="1"&gt;
&lt;/P&gt;&lt;P data-xf-p="1"&gt;Any ideas how we can resolve this? Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 11:58:24 GMT</pubDate>
    <dc:creator>MeghanStark</dc:creator>
    <dc:date>2021-07-06T11:58:24Z</dc:date>
    <item>
      <title>Session log timeout</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Session-log-timeout/m-p/96294#M44606</link>
      <description>&lt;P data-xf-p="1"&gt;We have several automated processes, and only one has an issue when the production team attempts to export the session log.&lt;/P&gt;
&lt;P data-xf-p="1"&gt;
&lt;/P&gt;&lt;P data-xf-p="1"&gt;"An error occurred while retrieving the logs. The request channel times out while waiting for a reply after 00:00:59. Increase the timeout value passed to the call Request or increase the Send Timeout value on the Binding. The time alotted to this operation may have been a portion of a longer timeout."&lt;/P&gt;
&lt;P data-xf-p="1"&gt;
&lt;/P&gt;&lt;P data-xf-p="1"&gt;Any ideas how we can resolve this? Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 11:58:24 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Session-log-timeout/m-p/96294#M44606</guid>
      <dc:creator>MeghanStark</dc:creator>
      <dc:date>2021-07-06T11:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Session log timeout</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Session-log-timeout/m-p/96295#M44607</link>
      <description>Hi Meghan,&lt;BR /&gt;&lt;BR /&gt;That must frustrating, but there are a couple of additional methods to extract the logs. You may need IT support for these, depending on database access and your level of comfort using command line or SQL. Given the potential ways this could impact your environments performance, please ensure you discuss with your IT team before trying either method.&lt;BR /&gt;&lt;BR /&gt;1) So the first option is using command line, there's a long list of commands available &lt;A href="https://bpdocs.blueprism.com/bp-6-10/en-us/helpCommandLine.htm" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. But I think the one you're after is /getlog &amp;lt;sessionid&amp;gt;.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35024.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35087i106D23EEC089D8D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="35024.png" alt="35024.png" /&gt;&lt;/span&gt;&lt;BR /&gt;The page mentioned above has some instructions of how to use, but if you run into difficulties, there's a &lt;A href="https://portal.blueprism.com/customer-support/support-center#/path/Installation-Platform/Configuration/Command-Line-Options/1297366322/Troubleshooting-Blue-Prism-command-line-options.htm" target="_blank" rel="noopener"&gt;troubleshooting guide&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;2) Next up is running SQL code, which can be done in Blue Prism if you have a credential with at least read access to the database.&amp;nbsp;&lt;BR /&gt;You need to have the "Data - SQL Server" VBO imported, then follow these steps:&lt;BR /&gt;- Data - SQL Server &amp;gt; Configure&lt;BR /&gt;- Data - SQL Server &amp;gt; Set Connection&lt;BR /&gt;- Data - SQL Server &amp;gt; Get Collection&amp;nbsp;&lt;BR /&gt;Using this code in the final stage&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;SELECT TOP (10000) [logid]
      ,[sessionnumber]
      ,[stagename]
      ,CONVERT(VarChar(10),[stagetype]) 'stagetype'
      ,[processname]
      ,[pagename]
      ,[objectname]
      ,[actionname]
      ,[result]
      ,[startdatetime]
      ,[enddatetime]
      ,[attributexml]
      ,[targetappname]
      ,[targetappworkingset]
      ,[attributesize]
  FROM [BPASessionLog_NonUnicode]
  WHERE sessionnumber = '$$$$'​&lt;/CODE&gt;&lt;/PRE&gt;
You'll need to replace the $$$$ with the session number and I've limited it to 10,000 rows.&lt;BR /&gt;&lt;BR /&gt;You can then export this to Excel or similar.&lt;BR /&gt;&lt;BR /&gt;If you're not sure with any of this, please raise a support ticket and the team will be more than happy to assist.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Ben</description>
      <pubDate>Wed, 07 Jul 2021 07:32:28 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Session-log-timeout/m-p/96295#M44607</guid>
      <dc:creator>Ben.Lyons1</dc:creator>
      <dc:date>2021-07-07T07:32:28Z</dc:date>
    </item>
  </channel>
</rss>

