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

Conversation

@jasonborg
Copy link
Contributor

@jasonborg jasonborg commented Dec 19, 2022

The Firebase Admin SDK uses slf4j for logging. What this means is that in order to see logging information out of the sdk library a sl4j binding must be found.

Here we use the slf4j-simple logger, which emits the logs to stderr. One simple way to configure it is to add
-Dorg.slf4j.simpleLogger.defaultLogLevel=debug to the java command invocation.

See here for more information:

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.

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.
@jasonborg jasonborg requested a review from mctavish December 19, 2022 19:01
@jasonborg jasonborg merged commit de3edb8 into main Dec 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants