{"id":538,"date":"2016-03-04T23:42:59","date_gmt":"2016-03-04T23:42:59","guid":{"rendered":"\/?post_type=ht_kb&#038;p=538"},"modified":"2020-08-09T19:41:55","modified_gmt":"2020-08-09T19:41:55","slug":"console-logging","status":"publish","type":"ht_kb","link":"https:\/\/www.use-snip.com\/kb\/knowledge-base\/console-logging\/","title":{"rendered":"Console Logging"},"content":{"rendered":"<p>Along the lower half of the application window, below the set of control tabs, is a scrolling textual display called the console log. Several controls provide the means to control what level of detail is shown.\u00a0 Below that, at the bottom of the application window, is a status display line.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3912 size-full\" src=\"\/kb\/wp-content\/uploads\/2017\/07\/Console.png\" width=\"803\" height=\"384\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2017\/07\/Console.png 803w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2017\/07\/Console-300x143.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2017\/07\/Console-768x367.png 768w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2017\/07\/Console-50x24.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2017\/07\/Console-600x287.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2017\/07\/Console-320x153.png 320w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/p>\n<p>The above image shows a typical fragment of a report from the console. The user has just pressed the List Mount Point button and a report of the active mountPts from all stream types has been appended to the log.\u00a0 If any of the remote relay caster connections were down, this would also be shown.<\/p>\n<h3>Small Icons<a id=\"SmIcons\"><\/a><\/h3>\n<p>The console log employs a set of small icons with each entry to quickly show the type of connection the entry pertains to.\u00a0\u00a0 This is helpful to disambiguate the entries when the same MountPt name is used in different contexts.\u00a0 Consider a base station called &#8220;xxx&#8221; which arrives to the Caster with a <strong>PUSH_In<\/strong> connection, is sent out of the Caster to another Caster with a <strong>PUSH_Out<\/strong> connection, and is then connected to be one or more <strong>NTRIP Client<\/strong> devices.\u00a0 Without these symbols it is harder to discern which connection is being described.\u00a0 This symbol is added when the console is reporting details about the stream or its connection. The symbol is not used when reporting about a connected user (rover or NTRIP Client) and that stream.<\/p>\n<p style=\"padding-left: 40px;\">These six small symbols are used:<br \/>\n<strong>\u00a0<span style=\"color: #008000;\"><big>\u2191<\/big><\/span>\u00a0<\/strong> The Data is from <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-relay-streams-tab\/\">Remote-Relay<\/a> connection<br \/>\n<span style=\"color: #008000;\"><strong><big>\u2190<\/big><\/strong><\/span>\u00a0 The Data is from <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-pushed-streams-tab\/\">PUSH-In<\/a> connection<br \/>\n<span style=\"color: #008000;\"><strong>\u00a0<\/strong><strong><big>\u2192<\/big><\/strong><\/span>\u00a0 The Data is from <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-pushed-out-streams-tab-output-data\/\">PUSH-Out<\/a> connection<br \/>\n<span style=\"color: #008000;\"><strong>\u21d0<\/strong><\/span>\u00a0 The Data is from <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/raw-tcpip-streams-tab\/\">RAW TCP\/IP<\/a> connection<br \/>\n<strong><span style=\"color: #008000;\"><big>\u2193<\/big><\/span><\/strong>\u00a0 The Data is from <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/the-serial-streams-tab\/\">Serial UART<\/a> connection<br \/>\n<span style=\"color: #008000;\"><strong><big>\u21d2<\/big><\/strong><\/span>\u00a0 The Data is from a <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/nearest-streams-tab\/\">NEAR<\/a> pool<\/p>\n<p>The symbol is not used when reporting about a connected user (a rover or NTRIP Client) for each stream. Here is an typical example where three Remote-Relay connection events are being described.<\/p>\n<pre style=\"padding-left: 40px;\">[<span style=\"color: #0000ff;\">SCSC\u2191<\/span>]: \u00a0Stream analysis completed... Parsing is <strong>Enabled<\/strong> for one format. \u00a0\u00a0[Detected <strong>RTCM3<\/strong>, Decoded: <strong>RTCM3<\/strong>]\r\n[<span style=\"color: #0000ff;\">Demo1\u2191<\/span>]: Stream analysis completed... Parsing is <strong>Enabled<\/strong> for one format. \u00a0\u00a0[Detected <strong>RTCM3<\/strong>, Decoded: <strong>RTCM3<\/strong>]\r\n[<span style=\"color: #0000ff;\">Demo2\u2191<\/span>]: Stream analysis completed... Parsing is <strong>Enabled<\/strong> for one format. \u00a0\u00a0[Detected <strong>RTCM3<\/strong>, Decoded: <strong>RTCM3<\/strong>]<\/pre>\n<p>&nbsp;<\/p>\n<h3>Labeling Style<a id=\"Labels\"><\/a><\/h3>\n<p>The console supports a number of different labeling styles.\u00a0 These can be quickly selected from the button <strong>Types<\/strong> and the menu <em>Toggle the Label Style Used.<\/em>\u00a0 Each time the menu is selected the style changes.\u00a0 There is a rotation of several styles to select from.\u00a0 The different items in the list below are enabled and disabled to create the final label heading to be used.<\/p>\n<ul>\n<li>Stream Name, e.g. [<strong>SCSC<\/strong>]\u00a0 &#8211; with the small icon added as per above<\/li>\n<li>Slot Type and Number, e.g. [<strong>R001<\/strong>]<\/li>\n<li>Day of Week and Time, e.g. <strong>[Thu 09:46:27<\/strong>] &#8211; second precision, localized Day of week (DOW)<\/li>\n<li>The Precise Day of Week and Time, e.g. [<strong>Thu 09:46:27.023<\/strong>]\u00a0 &#8212; mSec precision from Host machine clock<\/li>\n<li>Full Date and Time,\u00a0 e.g. [<strong>Aug 06 Thu 09:46:27<\/strong>] &#8211; second precision, MM DD DOW order<\/li>\n<li>Full Date and Time,\u00a0 e.g. [<strong>06 Aug Thu 09:46:27<\/strong>] &#8211; second precision, DD MM DOW order<\/li>\n<li>Full Date and Time,\u00a0 e.g. [<strong>Thu 06-08-2020 09:47:27<\/strong>] &#8211; second precision, DOW DD MM YYYY order<\/li>\n<li>Full Date and Time,\u00a0 e.g. [<strong>2020-08-06 Thu 09:46:27<\/strong>] &#8211; second precision, YYYY MM DD DOW order<\/li>\n<li>The console entry number, e.g.\u00a0\u00a0<strong> #010121<\/strong>\u00a0 &#8211; a unique monotonic value for every entry<\/li>\n<\/ul>\n<p>Because all recent console logs are re-drawn whenever the style is changes, this feature can be quite useful when you need to determine the precise time at which a prior event occurred.<\/p>\n<h3><span style=\"color: #008000;\"><strong>Hints<\/strong> <\/span>for busy Caster Logs<\/h3>\n<p>A Caster can have new NTRIP Client connections and other events occurring every second, making the console log hard to read at times.\u00a0\u00a0 Use of the <em><strong>Pause<\/strong><\/em>, <em><strong>Scroll Down<\/strong><\/em>, and <strong><em>Clear<\/em> <\/strong>buttons on the right side make short work of any log clutter.\u00a0 Longer reports are sent to the document viewer to avoid this issue.\u00a0 The last ~5,000 log entries are always kept and can be replayed at any time by using the two <em><strong>Refresh<\/strong> <\/em>buttons located on the left side.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5790\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2018\/11\/ConsoleControls.png\" alt=\"\" width=\"912\" height=\"98\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2018\/11\/ConsoleControls.png 912w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2018\/11\/ConsoleControls-300x32.png 300w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2018\/11\/ConsoleControls-768x83.png 768w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2018\/11\/ConsoleControls-50x5.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2018\/11\/ConsoleControls-600x64.png 600w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2018\/11\/ConsoleControls-320x34.png 320w\" sizes=\"auto, (max-width: 912px) 100vw, 912px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"color: #008000;\"><strong>Key Hint<\/strong><\/span>:\u00a0 When the Caster window is moving too fast, just press the <span style=\"color: #0000ff;\"><strong>Pause<\/strong><\/span> button.<\/p>\n<p>&nbsp;<\/p>\n<h3><span style=\"color: #993300;\"><em><strong>Pro<\/strong> <\/em><\/span>model, the <em>Event Summary<\/em> Windows<a id=\"SumWindow\"><\/a><\/h3>\n<p><a href=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/08\/SNIPeventSummary.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-7101\" src=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/08\/SNIPeventSummary-202x300.png?_t=1596738379\" alt=\"\" width=\"276\" height=\"410\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/08\/SNIPeventSummary-202x300.png 202w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/08\/SNIPeventSummary-34x50.png 34w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/08\/SNIPeventSummary-320x476.png 320w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2020\/08\/SNIPeventSummary.png 376w\" sizes=\"auto, (max-width: 276px) 100vw, 276px\" \/><\/a>On <span style=\"color: #993300;\"><em><strong>Pro<\/strong><\/em><\/span> models of <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span> (as well as on Evaluation models), two additional windows are also shown (when the option is checked).\u00a0 These windows provide a summary view of recent events.\u00a0 Events concerning NTRIP Clients (rovers) are shown in the upper window, while events concerning NTRIP Servers (Base Stations) are shown below.<\/p>\n<p>When a Caster has new connection events occurring at rates exceeding a few seconds or more, the amount of text in the console can scroll faster than the eye can follow (use the <em><strong>Pause <\/strong><\/em>button as needed).<\/p>\n<p>The purpose of these windows is to provide a quick summary view of more major events. And, when a new connection is repeating with the same results, these entries are bundled together in the display. In the window at right (click to enlarge) you can see summary views of Clients and Base Stations connecting and disconnecting.<\/p>\n<p>A label (at the bottom of the window) shows the number of Caster Tables served as well as the number of current connection attempts that were rejected from blocked IPs.<\/p>\n<h3>Use<\/h3>\n<p>The <strong>Console<\/strong> is used for general purpose logging of all events in <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span>.\u00a0 The log records a linear time stamped sequence of the various connection and data serving events that occur in <span style=\"color: #0000ff;\"><strong>SNIP<\/strong><\/span>.<\/p>\n<p>The log entries often provide more detailed data than is needed when not performing analysis is a problem, and can easily become overwhelming.\u00a0 A set of controls above the log display allows simple basic filtering operations on the log, useful to reduce the entries displayed to a more manageable level.<\/p>\n<p>See <a href=\"\/kb\/knowledge-base\/how-to-use-filter-controls-the-details\/\">this article<\/a> for further details on how to manage what items are displayed.<\/p>\n<p>See <a href=\"\/kb\/knowledge-base\/saving-console-logs\/\">this article<\/a> for further details on how to capture the console log entries to a file for further use<\/p>\n<p>See <a href=\"https:\/\/www.use-snip.com\/kb\/knowledge-base\/gathering-console-logs\/\">this article<\/a> for advice on how to capture a log to be sent to us for technical assistance from our support team at support [at] use-snip.com<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 60px;\"><a href=\"\/kb\/knowledge-base\/other-tabs\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-592 size-full\" src=\"\/kb\/wp-content\/uploads\/2016\/03\/agt_back.png\" alt=\"agt_back\" width=\"64\" height=\"64\" srcset=\"https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/03\/agt_back.png 64w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/03\/agt_back-50x50.png 50w, https:\/\/www.use-snip.com\/kb\/wp-content\/uploads\/2016\/03\/agt_back-60x60.png 60w\" sizes=\"auto, (max-width: 64px) 100vw, 64px\" \/><\/a> <a href=\"\/kb\/knowledge-base\/other-tabs\/\">Prior Tab<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Along the lower half of the application window, below the set of control tabs, is a scrolling textual display called the console log. Several controls provide the means to control what level of detail is shown.\u00a0 Below that, at the bottom of the application window, is a status display line. [&hellip;]<\/p>\n","protected":false},"author":13,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"ht-kb-category":[284],"ht-kb-tag":[326,469,248],"class_list":["post-538","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-snip-tabs-and-controls","ht_kb_tag-console","ht_kb_tag-events","ht_kb_tag-log"],"_links":{"self":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/comments?post=538"}],"version-history":[{"count":38,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/538\/revisions"}],"predecessor-version":[{"id":7210,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb\/538\/revisions\/7210"}],"wp:attachment":[{"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/media?parent=538"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=538"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.use-snip.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}