Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit de3edb8

Browse files
authored
feat: Add slf4j-simple dependency to internals.jar (#58)
The Firebase Admin SDK uses slf4j for logging. What this means is in order to see logging information out of the sdk library a sl4j bind must be found. Here is we use the slf4j-simple logger, which emits the logs to stderr. One simply way to configure it is to add `-Dorg.slf4j.simpleLogger.defaultLogLevel=debug` to the java command invocation. See here for more information: * https://www.slf4j.org/api/org/slf4j/simple/SimpleLogger.html * https://www.slf4j.org/manual.html To note, this is bundled into the agent's internals.jar file that the agent loads for itself and is kept isolated from the application.
1 parent 4ea0036 commit de3edb8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/agent/internals/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
<artifactId>firebase-admin</artifactId>
5050
<version>9.0.0</version>
5151
</dependency>
52+
<dependency>
53+
<groupId>org.slf4j</groupId>
54+
<artifactId>slf4j-simple</artifactId>
55+
<version>1.7.36</version>
56+
</dependency>
5257
</dependencies>
5358

5459
<build>

0 commit comments

Comments
 (0)