Skip to content

Strange output in console #3099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
erkanarslan opened this issue Aug 30, 2017 · 1 comment
Closed

Strange output in console #3099

erkanarslan opened this issue Aug 30, 2017 · 1 comment

Comments

@erkanarslan
Copy link

Did you verify this is a real problem by searching [Stack Overflow]

Yes

Tell us about the problem

After running tns run android and working on my application sometimes I get logs in the console like this:

08-30 16:41:36.009  7717 14614 V SOMA_HTTP_Connector: request URL: http://soma.smaato.net/oapi/reqAd.jsp?pub=1100018571&adspace=130236273&format=ALL&formatstrict=true&mediationversion=2&response=JSON&dimension=MMA&dimensionstrict=true&width=320&height=50&coppa=0&modifyRM=true&beacon=true&connection=wifi&carrier=TURKCELL&carriercode=28601&fattributionid=1c39665c-6eb3-4175-a015-ae25467a9c2c&osversion=6.0.1&devicemodel=ASUS_Z00ED&devicebrand=asus&screenwidth=720&screenheight=1280&devicetype=0&lang=en-US&osname=android&portrait=true&mraidver=2&googleadid=75612ce6-d69b-443c-8cae-aa63bfef8852&googlednt=0&client=sdkandroid_6-1-0&autorefresh=0&offscreen=true&bundle=droom.sleepIfUCan&apiver=502
08-30 16:41:36.010  7717 14614 D SOMA_HTTPConnector: Load async: http://soma.smaato.net/oapi/reqAd.jsp?pub=1100018571&adspace=130236273&format=ALL&formatstrict=true&mediationversion=2&response=JSON&dimension=MMA&dimensionstrict=true&width=320&height=50&coppa=0&modifyRM=true&beacon=true&connection=wifi&carrier=TURKCELL&carriercode=28601&fattributionid=1c39665c-6eb3-4175-a015-ae25467a9c2c&osversion=6.0.1&devicemodel=ASUS_Z00ED&devicebrand=asus&screenwidth=720&screenheight=1280&devicetype=0&lang=en-US&osname=android&portrait=true&mraidver=2&googleadid=75612ce6-d69b-443c-8cae-aa63bfef8852&googlednt=0&client=sdkandroid_6-1-0&autorefresh=0&offscreen=true&bundle=droom.sleepIfUCan&apiver=502
08-30 16:41:36.192  7717  7766 D SOMA_SOMA_PARSER: JSON string=={"sessionid":"05841343-a16b-4385-920c-9f722fca70bd","status":"ERROR","errorcode":42,"errormessage":"Currently no ad available"}

Notice the "Currently no ad available" text. I haven't include a plugin related to that and I don't know anything about that. Is this a normal thing?

Which platform(s) does your issue occur on?

Android. Not tested on ios

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.1.3
  • Cross-platform modules: 3.1.1
  • Runtime(s): tns-android: 3.1.1
  • Plugin(s): 3.1.1
@petekanev
Copy link
Contributor

Hey @erkanarslan, what you are seeing is a result of faulty filtering of the device log, sometimes you may see logs unrelated to your application, as explained in my comment here - #2515 (comment)

The behavior has since been changed to only print out logs from the current process that is being debugged. The changes are available in the 3.2 release candidate which you could install with npm i -g nativescript@rc.

Please let us know if you continue seeing logs you think do not concern your application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants