Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-23443

Android CLI: Log messages sometimes get truncated arbitrarily

    Details

    • Type: Story
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: Release 5.3.0
    • Fix Version/s: Release 5.4.0
    • Component/s: Android, CLI
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2016 Sprint 11 SDK

      Description

      In attempting to set up an automated test suite for Android, I'm running into an issue whereby I cannot reliably spit the test results as JSON due to a number of issues. If I try to gather them all together and spit out on huge JSOn object, I run into TIMOB-23438 where it gets truncated around 4036 characters.

      If I try to spit out JSON results after every test, I get intermittent truncated output, thereby breaking the JSON parsing.

      When I do a manual adb logcat it always shows the full JSON output in the logs, however, the titanium CLI is truncating it for some reason.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                cwilliams Christopher Williams
                Reviewer:
                Chee Kiat Ng (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-9778
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code