<?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 Understanding Logging in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/understanding-logging/m-p/622863#M2722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm struggling through learning GeoEvent Processor both configuration of out-of-the-box components as well as developing custom components.&amp;nbsp; I'm finding my biggest struggle is not knowing what is actually happening when stuff doesn't work.&amp;nbsp; For example, I pass a buffer using a custom transport to the text adaptor and nothing happens.&amp;nbsp; I can see through the debugger and my own custom logger debug calls that byteListener.receive(byteBuffer, channelId); was called, but then nothing happens after that with the stream. I imagine I'm not meeting some requirement of the data, but I'm pulling out what little hair I have left because I have no way to know why it just didn't do anything. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In logs I can't see the text adaptor component to turn up logging.&amp;nbsp; Earlier I tried just using the file transport and while I could make it work, I couldn't find any way to get useful information from the logs such as what files were processed, etc.&amp;nbsp; That seems like really useful log information if a person was tracing back a problem, so I assume I'm just not doing something correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, are there any tricks to using the logging system to troubleshoot or track inputs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jun 2015 14:15:36 GMT</pubDate>
    <dc:creator>BryanBoutz1</dc:creator>
    <dc:date>2015-06-11T14:15:36Z</dc:date>
    <item>
      <title>Understanding Logging</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/understanding-logging/m-p/622863#M2722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm struggling through learning GeoEvent Processor both configuration of out-of-the-box components as well as developing custom components.&amp;nbsp; I'm finding my biggest struggle is not knowing what is actually happening when stuff doesn't work.&amp;nbsp; For example, I pass a buffer using a custom transport to the text adaptor and nothing happens.&amp;nbsp; I can see through the debugger and my own custom logger debug calls that byteListener.receive(byteBuffer, channelId); was called, but then nothing happens after that with the stream. I imagine I'm not meeting some requirement of the data, but I'm pulling out what little hair I have left because I have no way to know why it just didn't do anything. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In logs I can't see the text adaptor component to turn up logging.&amp;nbsp; Earlier I tried just using the file transport and while I could make it work, I couldn't find any way to get useful information from the logs such as what files were processed, etc.&amp;nbsp; That seems like really useful log information if a person was tracing back a problem, so I assume I'm just not doing something correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, are there any tricks to using the logging system to troubleshoot or track inputs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 14:15:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/understanding-logging/m-p/622863#M2722</guid>
      <dc:creator>BryanBoutz1</dc:creator>
      <dc:date>2015-06-11T14:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Logging</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/understanding-logging/m-p/622864#M2723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I eventually found there was a problem with the way I was encoding text sent into the byteListenter in my custom transport, so at least I'm moving forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still don't see any way to extract useful troubleshooting information from FileInboundTransport and Text adapter.&amp;nbsp; Through console logging I can set com.esri.ges.transport.file.FileInboundTransport: DEBUG, but I don't see anything getting logged. I haven't figured out what to look at for text Adapter logging.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point it seems there isn't much logging provided on those components.&amp;nbsp; I guess I will have to wrap custom components around the out-of-the-box components if I want additional logging.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 17:37:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/understanding-logging/m-p/622864#M2723</guid>
      <dc:creator>BryanBoutz1</dc:creator>
      <dc:date>2015-06-12T17:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Logging</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/understanding-logging/m-p/622865#M2724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the text adapter receives the byte buffer but cannot parse it, it should throw an exception which show up in the logger.&amp;nbsp; If it doesn't in your case, that means we didn't handle that particular error correctly.&amp;nbsp;&amp;nbsp; In terms of turning on DEBUG, you can turn on DEBUG for individual components.&amp;nbsp; If you don't know which component to turn on, you may be able to turn on DEBUG for root for a short while.&amp;nbsp; This will put a lot of messages in the logger.&amp;nbsp; But you should only have it on DEBUG for a short time.&amp;nbsp; You should be able to see additional information from the logs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your situation, the components you want to turn on DEBUG for are:&lt;/P&gt;&lt;P&gt;com.esri.ges.adapter.text.TextInboundAdapter and com.esri.ges.transport.file.FileInboundTransport&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ming Zhao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 18:13:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/understanding-logging/m-p/622865#M2724</guid>
      <dc:creator>MingZhao</dc:creator>
      <dc:date>2015-06-26T18:13:05Z</dc:date>
    </item>
  </channel>
</rss>

