<?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 AGSRequestConfiguration in 200.x in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1394574#M231</link>
    <description>&lt;P&gt;There exists a very useful way to debug requests in 100.x, this:&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;let config = AGSRequestConfiguration.global()
config.debugLogFileURL = URL(fileURLWithPath: "/tmp/arcgis.md")
config.debugLogRequests = true
config.debugLogIncludeRequestHeaders = true
config.debugLogResponses = true
config.debugLogIncludeResponseHeaders = true
config.debugLogResponseTrimThreshold = 500
config.debugLogIgnoreTiledLayerRequests = true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Is there an equivalent version in 200.x? I checked the documentation but haven't found anything similar.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 11:10:30 GMT</pubDate>
    <dc:creator>zdtorok</dc:creator>
    <dc:date>2024-03-12T11:10:30Z</dc:date>
    <item>
      <title>AGSRequestConfiguration in 200.x</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1394574#M231</link>
      <description>&lt;P&gt;There exists a very useful way to debug requests in 100.x, this:&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;let config = AGSRequestConfiguration.global()
config.debugLogFileURL = URL(fileURLWithPath: "/tmp/arcgis.md")
config.debugLogRequests = true
config.debugLogIncludeRequestHeaders = true
config.debugLogResponses = true
config.debugLogIncludeResponseHeaders = true
config.debugLogResponseTrimThreshold = 500
config.debugLogIgnoreTiledLayerRequests = true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Is there an equivalent version in 200.x? I checked the documentation but haven't found anything similar.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 11:10:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1394574#M231</guid>
      <dc:creator>zdtorok</dc:creator>
      <dc:date>2024-03-12T11:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: AGSRequestConfiguration in 200.x</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1394721#M232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/763512"&gt;@zdtorok&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please use &lt;A href="https://developers.arcgis.com/swift/api-reference/documentation/arcgis/consolenetworklogger" target="_self"&gt;ConsoleNetworkLogger&lt;/A&gt; in 200.x for request logging. You can use following code at the start of the application.&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;let logger = ConsoleNetworkLogger(requestOptions: [.method, .body, .headers], responseOptions: [.data, .headers])
logger.startLogging()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, you can use the &lt;A href="https://developers.arcgis.com/swift/api-reference/documentation/arcgis/networklogger" target="_self"&gt;NetworkLogger&lt;/A&gt;&amp;nbsp;protocol to build your own custom network logger.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nimesh&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 15:54:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1394721#M232</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2024-03-12T15:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: AGSRequestConfiguration in 200.x</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1693074#M664</link>
      <description>&lt;P&gt;Hi Nimesh,&lt;/P&gt;&lt;P&gt;How do you access the logs after that? Can you save them to a file? Are they visible anywhere?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2026 11:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1693074#M664</guid>
      <dc:creator>tsroyh</dc:creator>
      <dc:date>2026-03-27T11:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: AGSRequestConfiguration in 200.x</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1693115#M665</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/982439"&gt;@tsroyh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can view the logs created by&amp;nbsp;&lt;A href="https://developers.arcgis.com/swift/api-reference/documentation/arcgis/consolenetworklogger" target="_self" rel="nofollow noreferrer"&gt;ConsoleNetworkLogger&lt;/A&gt;&amp;nbsp;in the Xcode debug console. If you want to save the logs to a file, please create your own logger using the&amp;nbsp;&lt;A href="https://developers.arcgis.com/swift/api-reference/documentation/arcgis/networklogger" target="_self" rel="nofollow noreferrer"&gt;NetworkLogger&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;protocol.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Nimesh&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2026 15:08:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1693115#M665</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2026-03-27T15:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: AGSRequestConfiguration in 200.x</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1693327#M666</link>
      <description>&lt;P&gt;Thanks Nimesh!&lt;/P&gt;&lt;P&gt;Is there another step to attach the logger to the ArcGIS SDK/env/map? Just init of &amp;nbsp;ConsoleNetworkLogger and `startLogging()` doesn't seem to produce any logs.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 09:56:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1693327#M666</guid>
      <dc:creator>tsroyh</dc:creator>
      <dc:date>2026-03-30T09:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: AGSRequestConfiguration in 200.x</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1693475#M670</link>
      <description>&lt;P&gt;Please make sure the instance of the &amp;nbsp;logger &amp;nbsp;is not getting released. If you have a SwiftUI app then you can do this,&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;import ArcGIS
import SwiftUI

@main
struct ExamplesApp: App {
    let logger = ConsoleNetworkLogger(requestOptions: [.method, .body, .headers], responseOptions: [.data, .headers])
    
    init() {
        logger.startLogging()
    }
    
    var body: some SwiftUI.Scene {
        .......
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2026 17:20:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/agsrequestconfiguration-in-200-x/m-p/1693475#M670</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2026-03-30T17:20:37Z</dc:date>
    </item>
  </channel>
</rss>

