Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set log level for Firestore?

How to set log level for Firestore?

According to documentation here, i should use setLogLevel method but i can't see method at Firestore client objects, like FirestoreClient.getFirestore().

like image 814
MiguelSlv Avatar asked Feb 07 '18 22:02

MiguelSlv


People also ask

How do I check my firestore logs?

For Admin Activity audit logs, select activity. For Data Access audit logs, select data_access. For System Event audit logs, select system_event. For Policy Denied audit logs, select policy.

Does firebase use Log4j?

December 21, 2021 Update: Firebase does not use Log4j 2 and is not impacted by the issues identified in CVE-2021-44228 and CVE-2021-45046.


1 Answers

For firebase-firestore:21.1.1 use this line:

FirebaseFirestore.setLoggingEnabled(true);

Further Reference

like image 198
Darush Avatar answered Dec 11 '22 23:12

Darush