Note: Logs written to stdout and stderr are automatically sent to Stackdriver Logging for you, without needing to use Stackdriver Logging library for Java.
Remarque : Les journaux écrits dans stdout et stderr sont automatiquement envoyés à Stackdriver Logging. Vous n'avez pas besoin d'utiliser la bibliothèque Stackdriver Logging pour Java.
The Stackdriver Logging agent does not have to be installed to use the Stackdriver Logging library for Java.
Vous n'avez pas besoin d'installer l'agent Stackdriver Logging pour utiliser la bibliothèque Stackdriver Logging pour Java.
Using Stackdriver Logging library for Java requires the Cloud IAM Logs Writer role on GCP.
Pour utiliser la bibliothèque Stackdriver Logging pour Java, vous devez détenir le rôle Cloud IAM Rédacteur de journaux sur GCP.
Setting Up Stackdriver Logging for Java You can write logs to Stackdriver Logging from Java applications by using the Logback appender or a java.util.logging handler, or by using the Stackdriver Logging library for Java directly.
Quotas et limites pour Java Vous pouvez écrire des journaux dans Stackdriver Logging depuis des applications Java grâce à l'appender Logback, à un gestionnaire java.util.logging, ou en utilisant directement la bibliothèque Stackdriver Logging pour Java.
Note: If using the Stackdriver Logging library for Java API directly, there is no default log name or minimum threshold.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.