質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Android Studio

Android Studioは、 Google社によって開発された、 Androidのネイティブアプリケーション開発に特化した統合開発ツールです。

Q&A

解決済

1回答

2192閲覧

android studio logcat

rei-

総合スコア11

Android Studio

Android Studioは、 Google社によって開発された、 Androidのネイティブアプリケーション開発に特化した統合開発ツールです。

0グッド

0クリップ

投稿2017/04/24 05:54

編集2017/04/24 06:16

android studioのlogcatでlogを正しく表示できていたのですが、
途中から以下のようなものまで表示されるようになってしまいました。
画面が表示、非表示などの情報が出ているようなのですが、これを表示しないようにするにはどうしたらよいでしょうか。

04-24 14:43:53.714 3506-3979/? I/BrcmNfcNfa: nfa_dm_nfc_response_cback () NFC_SET_CONFIG_REVT(0x5002) 04-24 14:43:53.714 3506-3979/? D/NfcAdaptation: NfcAdaptation::HalPrediscover 04-24 14:43:53.714 3506-3979/? I/BrcmNfcNfa: nfc_ncif_send_cmd. 04-24 14:43:53.714 3506-3979/? D/NfcAdaptation: NfcAdaptation::HalWrite 04-24 14:43:53.718 3506-3984/? D/NfcAdaptation: NfcAdaptation::HalDeviceContextDataCallback: len=4 04-24 14:43:53.718 3506-3979/? I/BrcmNfcNfa: NFC received rsp gid:1 04-24 14:43:53.718 3506-3979/? I/BrcmNfcNfa: returning from nfa_dm_p2p_prio_logic NFA_DM_FLAGS_P2P_PAUSED 04-24 14:43:53.718 3506-3979/? I/BrcmNfcNfa: nfa_dm_disc_discovery_cback (): event:0x4000 04-24 14:43:53.718 3506-3979/? I/BrcmNfcNfa: nfa_dm_disc_sm_execute (): state: IDLE (0), event: DISCOVER_RSP(1) disc_flags: 0x31 04-24 14:43:53.718 3506-3979/? I/BrcmNfcNfa: nfa_dm_disc_new_state (): old_state: IDLE (0), new_state: DISCOVERY (1) disc_flags: 0x11 04-24 14:43:53.719 3506-3979/? D/BrcmNfcJni: nfaConnectionCallback: event= 30 04-24 14:43:53.719 3506-3979/? D/BrcmNfcJni: nfaConnectionCallback: NFA_RF_DISCOVERY_STARTED_EVT: status = 0 04-24 14:43:53.719 3506-3979/? I/BrcmNfcNfa: nfa_dm_disc_sm_execute (): new state: DISCOVERY (1), disc_flags: 0x1 04-24 14:43:53.719 3506-9704/? D/BrcmNfcJni: SecureElement::resetRfFieldStatus`: enter; 04-24 14:43:53.719 3506-9704/? D/BrcmNfcJni: SecureElement::resetRfFieldStatus`: exit 04-24 14:43:53.719 3506-9704/? D/BrcmNfcJni: releaseRfInterfaceMutexLock: sRfInterfaceMutex unlock 04-24 14:43:53.719 3506-9704/? D/BrcmNfcJni: nfcManager_disableDiscovery: exit 04-24 14:43:54.343 606-912/? D/SurfaceFlinger: Set power mode=0, type=0 flinger=0x5596e934f0 04-24 14:43:54.343 606-912/? D/qdhwcomposer: hwc_setPowerMode: Setting mode 0 on display: 0 04-24 14:43:54.344 1595-1678/? I/DisplayManagerService: Display device changed state: "内蔵画面", OFF 04-24 14:43:54.511 606-912/? D/qdhwcomposer: hwc_setPowerMode: Done setting mode 0 on display 0 04-24 14:43:54.511 1595-2894/? D/SurfaceControl: Excessive delay in setPowerMode(): 169ms 04-24 14:43:55.205 746-746/? I/MSM-irqbalance: Decided to move IRQ132 from CPU0 to CPU1 04-24 14:43:55.716 9672-9692/? I/GAV2: Thread[GAThread,5,main]: No campaign data found. 04-24 14:43:56.546 881-881/? W/ipacm: type=1400 audit(0.0:2073): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:43:56.546 881-881/? W/ipacm: type=1400 audit(0.0:2074): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:43:56.546 881-881/? W/ipacm: type=1400 audit(0.0:2075): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:43:56.546 880-880/? W/ipacm: type=1400 audit(0.0:2076): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:43:56.546 880-880/? W/ipacm: type=1400 audit(0.0:2077): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:43:59.706 881-881/? W/ipacm: type=1400 audit(0.0:2078): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:43:59.706 881-881/? W/ipacm: type=1400 audit(0.0:2079): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:43:59.706 881-881/? W/ipacm: type=1400 audit(0.0:2080): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:43:59.706 880-880/? W/ipacm: type=1400 audit(0.0:2081): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:43:59.706 880-880/? W/ipacm: type=1400 audit(0.0:2082): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm" 04-24 14:44:01.766 881-881/? W/ipacm: type=1400 audit(0.0:2083): avc: denied { sendto } for path="/dev/socket/ipacm_log_file" scontext=u:r:ipacm:s0 tcontext=u:r:ipacm-diag:s0 tclass=unix_dgram_socket permissive=0 ppid=1 pcomm="init" pgid=791 pgcomm="ipacm"

ERRORに絞ると以下のように表示されます。

04-24 15:14:47.407 679-679/? E/android-sensor: int android_sensor::disable(int32_t): type 5 APDS-9910 Light 04-24 15:14:47.415 712-12302/? E/PPDaemon: int AD::ADControl(DaemonContext*, int, ad_mode, int)(): Failed to get_backlight_level 04-24 15:14:47.416 712-12302/? E/PPDaemon: Refresh: screen refresh call failed 04-24 15:14:47.654 654-654/? E/bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null 04-24 15:14:47.673 1595-2838/? E/native: do suspend true 04-24 15:14:47.966 3506-3979/? E/BrcmNfcJni: nfaConnectionCallback: unknown event ???? 04-24 15:15:01.202 11131-11598/? E/ActivityThread: Failed to find provider info for com.facebook.orca.notify.MessengerLoggedInUserProvider 04-24 15:15:01.216 654-2868/? E/bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null 04-24 15:15:01.240 1595-2838/? E/native: do suspend false 04-24 15:15:01.446 3506-3979/? E/BrcmNfcNfa: UICC/ESE[0x402] is not activated 04-24 15:15:05.619 712-12316/? E/PPDaemon: int AD::ADInput(int): ad_input ioctl failed, ret = -1, err: Connection timed out 04-24 15:15:15.221 1595-3836/? E/LocSvc_libulp: E/int ulp_brain_transition_all_providers(), no QUIPC/GNSS transition logic run due to both engines are OFF 04-24 15:15:15.437 3912-3912/? E/ctxmgr: [PlaceFenceHelper]NearbyBuffer is null!

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

logcatはありとあらゆるアプリが吐き出すログが全部出ます。なのでフィルタしないと目的のものだけを見ることができません。このあたりが参考になると思います。
http://tsubakit1.hateblo.jp/entry/20140211/1392130595

投稿2017/04/24 06:01

masaya_ohashi

総合スコア9206

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

rei-

2017/04/24 06:17

ありがとうございます。 エラーに絞ると追記したように出るのですが、原因はわかりますでしょうか。
masaya_ohashi

2017/04/24 06:23

ログレベルではなくタグやPIDで絞り込んだほうがいいでしょう。エラーで絞り込んだとしても、別アプリからのログが消えるわけではありません。全アプリのエラーのみ出力されるようになっただけです。
rei-

2017/04/24 06:55

ありがとうございます。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問