<?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 Re: Log http traffic in ADF devServer? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2931#M872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also check the "serve" command docs from the Angular CLI: &lt;A class="link-titled" href="https://github.com/angular/angular-cli/wiki/serve" title="https://github.com/angular/angular-cli/wiki/serve" rel="nofollow noopener noreferrer"&gt;serve · angular/angular-cli Wiki · GitHub&lt;/A&gt; You most probably need the "verbose mode". You can modify the "package.json" script (the "start" one) with extra switches. Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2017 07:31:14 GMT</pubDate>
    <dc:creator>dvuika</dc:creator>
    <dc:date>2017-12-15T07:31:14Z</dc:date>
    <item>
      <title>Log http traffic in ADF devServer?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2925#M866</link>
      <description>My CORS configuration doesn't seem to work. Is there a way to log traffic? I have this:devServer.proxy."/ecm".logLevel: 'debug'devServer.proxy."/ecm".error: function(err, req, res) {console.log(err)}devServer.proxy."/ecm".onProxyReq: function (proxyReq, req, res) {console.log('RAW Request from the t</description>
      <pubDate>Thu, 14 Dec 2017 14:15:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2925#M866</guid>
      <dc:creator>queshaw</dc:creator>
      <dc:date>2017-12-14T14:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Log http traffic in ADF devServer?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2926#M867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of ADF are you using? The 1.9 and 2.0 are using Angular CLI and its webpack dev server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 14:21:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2926#M867</guid>
      <dc:creator>dvuika</dc:creator>
      <dc:date>2017-12-14T14:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Log http traffic in ADF devServer?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2927#M868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is 1.9. In my post it shows how I am configuring webpack dev server. But I shortened some of it for the post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;devServer: proxy."/ecm"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is actually&lt;/P&gt;&lt;P&gt;devServer: {&lt;/P&gt;&lt;P&gt;&amp;nbsp; proxy: {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; "/ecm": {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 15:43:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2927#M868</guid>
      <dc:creator>queshaw</dc:creator>
      <dc:date>2017-12-14T15:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Log http traffic in ADF devServer?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2928#M869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should get a working example if you generate a new 2.0.0 app with latest yeoman generator. You can also generate to a separate folder and compare the configurations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 15:50:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2928#M869</guid>
      <dc:creator>dvuika</dc:creator>
      <dc:date>2017-12-14T15:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Log http traffic in ADF devServer?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2929#M870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi did you get a look to&amp;nbsp;&lt;A href="https://community.alfresco.com/community/application-development-framework/blog/2017/06/20/adf-cors-solving-strategies" rel="nofollow noopener noreferrer"&gt;https://community.alfresco.com/community/application-development-framework/blog/2017/06/20/adf-cors-solving-strategies&lt;/A&gt;&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 16:03:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2929#M870</guid>
      <dc:creator>eugenio_romano</dc:creator>
      <dc:date>2017-12-14T16:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Log http traffic in ADF devServer?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2930#M871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This a reply to Denys also. Yes,&lt;A _jive_internal="true" data-containerid="1012" data-containertype="37" data-objectid="2325" data-objecttype="38" href="https://community.alfresco.com/community/application-development-framework/blog/2017/06/20/adf-cors-solving-strategies" style="color: #1e88e5; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);" rel="nofollow noopener noreferrer"&gt;ADF CORS solving strategies&lt;/A&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;nbsp;is one of the articles I based the configuration on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;The yeoman generator does create a working example for me. I was also looking into the demo-shell in alfresco-ng2-components and before posting this question it was the demo shell I was having trouble with.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;In the yeoman generated app, changing the log level in proxy.conf.json to debug was enough for me to figure out my immediate problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;I would like to know how to log network traffic of the&amp;nbsp; proxy with the angular-cli based app, but I am going to continue with the yeoman generator.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 21:06:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2930#M871</guid>
      <dc:creator>queshaw</dc:creator>
      <dc:date>2017-12-14T21:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Log http traffic in ADF devServer?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2931#M872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also check the "serve" command docs from the Angular CLI: &lt;A class="link-titled" href="https://github.com/angular/angular-cli/wiki/serve" title="https://github.com/angular/angular-cli/wiki/serve" rel="nofollow noopener noreferrer"&gt;serve · angular/angular-cli Wiki · GitHub&lt;/A&gt; You most probably need the "verbose mode". You can modify the "package.json" script (the "start" one) with extra switches. Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 07:31:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/log-http-traffic-in-adf-devserver/m-p/2931#M872</guid>
      <dc:creator>dvuika</dc:creator>
      <dc:date>2017-12-15T07:31:14Z</dc:date>
    </item>
  </channel>
</rss>

