Skip to content

Disable system log in TNS 4 console #3727

Description

@tdhman

Hello,

I'am using NativeScript Vue for developing my app, however, since upgrading to TNS 4, the tns console output log is too much verbose with system logging messages. Is there any way to disable all these logs and print only application level logs ?

Every time I run the app, it's impossible to see my debug log since there are a lot of system logs, for example:

AVAudioSession.mm:323:HandleRouteChange: Posting AVAudioSessionRouteChangeNotification. Reason: 3
0x10293e818 - UIProcess is releasing a foreground assertion because the view is no longer visible
0x10b944210 - ProcessThrottler::updateAssertion() sending PrepareToSuspend IPC
0x1c4a6ab80 - ProcessAssertion::setState(1)
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b940138 - ProcessThrottler::updateAssertionNow() updating process assertion state to 1 (foregroundActivities: 0, backgroundActivities: 1)
0x1c4a6a980 - ProcessAssertion::setState(1)
0x10b944210 - ProcessThrottler::updateAssertionNow() updating process assertion state to 0 (foregroundActivities: 0, backgroundActivities: 0)
0x1c4a6ab80 - ProcessAssertion::setState(0)
0x10b944000 - WebProcessProxy::didSetAssertionState(Suspended) release all assertions for network process
0x10b940138 - ProcessThrottler::updateAssertion() sending PrepareToSuspend IPC
0x10b940138 - ProcessThrottler::updateAssertionNow() updating process assertion state to 0 (foregroundActivities: 0, backgroundActivities: 0)
0x1c4a6a980 - ProcessAssertion::setState(0)
0x1c4854640 - WKProcessAssertionBackgroundTaskManager - endBackgroundTask
0x10b944210 - ProcessThrottler::updateAssertionNow() updating process assertion state to 1 (foregroundActivities: 0, backgroundActivities: 1)
0x1c4a6ab80 - ProcessAssertion::setState(1)
0x1c4854640 - WKProcessAssertionBackgroundTaskManager - beginBackgroundTaskWithName
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b940138 - ProcessThrottler::updateAssertionNow() updating process assertion state to 1 (foregroundActivities: 0, backgroundActivities: 1)
0x1c4a6a980 - ProcessAssertion::setState(1)
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944210 - ProcessThrottler::updateAssertion() sending PrepareToSuspend IPC
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process
0x10b944000 - WebProcessProxy::didSetAssertionState(Background) taking background assertion for network process

Issue occurs since TNS 4.0

  • Both iOS/Android

To recreate the issue

  • Execute command tns [run|debug] [ios|andorid] for any NativeScript project.

Thank you for any help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions