Extend a set of options in WriteOption to allow defining the log location as custom project, folder, org or billing account #684
Labels
api: logging
Issues related to the googleapis/java-logging API.
lang: java
Issues specific to Java.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Currently, the set of WriteOption options is limited to
java-logging/google-cloud-logging/src/main/java/com/google/cloud/logging/Logging.java
Lines 69 to 72 in 9d0e7a2
and does not allow to customize log name. The location of the log is produced based on the project id which is taken from the logging client options:
java-logging/google-cloud-logging/src/main/java/com/google/cloud/logging/LoggingImpl.java
Lines 741 to 746 in 9d0e7a2
This project id is retrieved from authentication workflow and is not necessary the same with the needed log destination. There also cases when the destination should be other than a project
The text was updated successfully, but these errors were encountered: