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()
.
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.
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.
For firebase-firestore:21.1.1 use this line:
FirebaseFirestore.setLoggingEnabled(true);
Further Reference
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With