You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gapic/templates/README.rst.j2
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ Examples
85
85
86
86
export GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google
87
87
88
-
- Enabling the default handler for a specific Google module (for a client library called :code:`Library`):
88
+
- Enabling the default handler for a specific Google module (for a client library called :code:`library_v1`):
89
89
90
90
.. code-block:: console
91
91
@@ -134,7 +134,7 @@ Logging details
134
134
:code:`logging.getLogger("google").propagate = True` in your code.
135
135
#. You can mix the different logging configurations above for different Google modules. For example, you may want use a code-based logging configuration for
136
136
one library, but decide you need to also set up environment-based logging configuration for another library.
137
-
1. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
137
+
#. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
138
138
if the code -based configuration gets applied first.
139
139
#. The Google-specific logging configurations (default handlers for environment-based configuration; not propagating logging events to the root logger) get
140
140
executed the first time *any* client library is instantiated in your application, and only if the affected loggers have not been previously configured.
Copy file name to clipboardExpand all lines: tests/integration/goldens/asset/README.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ LOGGING
55
55
This library uses the standard Python :code:`logging` functionality to log some RPC events that could be of interest for debugging and monitoring purposes.
56
56
Note the following:
57
57
58
-
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or Google Cloud Logging.
58
+
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or on Google Cloud Logging.
59
59
#. Google may refine the occurrence, level, and content of various log messages in this library without flagging such changes as breaking. **Do not depend on immutability of the logging events**.
60
60
#. By default, the logging events from this library are not handled. You must **explicitly configure log handling** using one of the mechanisms below.
61
61
@@ -85,7 +85,7 @@ Examples
85
85
86
86
export GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google
87
87
88
-
- Enabling the default handler for a specific Google module (In the case of a client library called :code:`Library`):
88
+
- Enabling the default handler for a specific Google module (for a client library called :code:`library_v1`):
89
89
90
90
.. code-block:: console
91
91
@@ -113,7 +113,7 @@ Examples
113
113
base_logger.addHandler(logging.StreamHandler())
114
114
base_logger.setLevel(logging.DEBUG)
115
115
116
-
- Configuring a handler for a specific Google module (In the case of a client library called :code:`library_v1`):
116
+
- Configuring a handler for a specific Google module (for a client library called :code:`library_v1`):
117
117
118
118
.. code-block:: python
119
119
@@ -134,7 +134,7 @@ Logging details
134
134
:code:`logging.getLogger("google").propagate = True` in your code.
135
135
#. You can mix the different logging configurations above for different Google modules. For example, you may want use a code-based logging configuration for
136
136
one library, but decide you need to also set up environment-based logging configuration for another library.
137
-
1. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
137
+
#. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
138
138
if the code -based configuration gets applied first.
139
139
#. The Google-specific logging configurations (default handlers for environment-based configuration; not propagating logging events to the root logger) get
140
140
executed the first time *any* client library is instantiated in your application, and only if the affected loggers have not been previously configured.
Copy file name to clipboardExpand all lines: tests/integration/goldens/credentials/README.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ LOGGING
55
55
This library uses the standard Python :code:`logging` functionality to log some RPC events that could be of interest for debugging and monitoring purposes.
56
56
Note the following:
57
57
58
-
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or Google Cloud Logging.
58
+
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or on Google Cloud Logging.
59
59
#. Google may refine the occurrence, level, and content of various log messages in this library without flagging such changes as breaking. **Do not depend on immutability of the logging events**.
60
60
#. By default, the logging events from this library are not handled. You must **explicitly configure log handling** using one of the mechanisms below.
61
61
@@ -85,7 +85,7 @@ Examples
85
85
86
86
export GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google
87
87
88
-
- Enabling the default handler for a specific Google module (In the case of a client library called :code:`Library`):
88
+
- Enabling the default handler for a specific Google module (for a client library called :code:`library_v1`):
89
89
90
90
.. code-block:: console
91
91
@@ -113,7 +113,7 @@ Examples
113
113
base_logger.addHandler(logging.StreamHandler())
114
114
base_logger.setLevel(logging.DEBUG)
115
115
116
-
- Configuring a handler for a specific Google module (In the case of a client library called :code:`library_v1`):
116
+
- Configuring a handler for a specific Google module (for a client library called :code:`library_v1`):
117
117
118
118
.. code-block:: python
119
119
@@ -134,7 +134,7 @@ Logging details
134
134
:code:`logging.getLogger("google").propagate = True` in your code.
135
135
#. You can mix the different logging configurations above for different Google modules. For example, you may want use a code-based logging configuration for
136
136
one library, but decide you need to also set up environment-based logging configuration for another library.
137
-
1. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
137
+
#. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
138
138
if the code -based configuration gets applied first.
139
139
#. The Google-specific logging configurations (default handlers for environment-based configuration; not propagating logging events to the root logger) get
140
140
executed the first time *any* client library is instantiated in your application, and only if the affected loggers have not been previously configured.
Copy file name to clipboardExpand all lines: tests/integration/goldens/eventarc/README.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ LOGGING
55
55
This library uses the standard Python :code:`logging` functionality to log some RPC events that could be of interest for debugging and monitoring purposes.
56
56
Note the following:
57
57
58
-
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or Google Cloud Logging.
58
+
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or on Google Cloud Logging.
59
59
#. Google may refine the occurrence, level, and content of various log messages in this library without flagging such changes as breaking. **Do not depend on immutability of the logging events**.
60
60
#. By default, the logging events from this library are not handled. You must **explicitly configure log handling** using one of the mechanisms below.
61
61
@@ -85,7 +85,7 @@ Examples
85
85
86
86
export GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google
87
87
88
-
- Enabling the default handler for a specific Google module (In the case of a client library called :code:`Library`):
88
+
- Enabling the default handler for a specific Google module (for a client library called :code:`library_v1`):
89
89
90
90
.. code-block:: console
91
91
@@ -113,7 +113,7 @@ Examples
113
113
base_logger.addHandler(logging.StreamHandler())
114
114
base_logger.setLevel(logging.DEBUG)
115
115
116
-
- Configuring a handler for a specific Google module (In the case of a client library called :code:`library_v1`):
116
+
- Configuring a handler for a specific Google module (for a client library called :code:`library_v1`):
117
117
118
118
.. code-block:: python
119
119
@@ -134,7 +134,7 @@ Logging details
134
134
:code:`logging.getLogger("google").propagate = True` in your code.
135
135
#. You can mix the different logging configurations above for different Google modules. For example, you may want use a code-based logging configuration for
136
136
one library, but decide you need to also set up environment-based logging configuration for another library.
137
-
1. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
137
+
#. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
138
138
if the code -based configuration gets applied first.
139
139
#. The Google-specific logging configurations (default handlers for environment-based configuration; not propagating logging events to the root logger) get
140
140
executed the first time *any* client library is instantiated in your application, and only if the affected loggers have not been previously configured.
Copy file name to clipboardExpand all lines: tests/integration/goldens/logging/README.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ LOGGING
55
55
This library uses the standard Python :code:`logging` functionality to log some RPC events that could be of interest for debugging and monitoring purposes.
56
56
Note the following:
57
57
58
-
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or Google Cloud Logging.
58
+
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or on Google Cloud Logging.
59
59
#. Google may refine the occurrence, level, and content of various log messages in this library without flagging such changes as breaking. **Do not depend on immutability of the logging events**.
60
60
#. By default, the logging events from this library are not handled. You must **explicitly configure log handling** using one of the mechanisms below.
61
61
@@ -85,7 +85,7 @@ Examples
85
85
86
86
export GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google
87
87
88
-
- Enabling the default handler for a specific Google module (In the case of a client library called :code:`Library`):
88
+
- Enabling the default handler for a specific Google module (for a client library called :code:`library_v1`):
89
89
90
90
.. code-block:: console
91
91
@@ -113,7 +113,7 @@ Examples
113
113
base_logger.addHandler(logging.StreamHandler())
114
114
base_logger.setLevel(logging.DEBUG)
115
115
116
-
- Configuring a handler for a specific Google module (In the case of a client library called :code:`library_v1`):
116
+
- Configuring a handler for a specific Google module (for a client library called :code:`library_v1`):
117
117
118
118
.. code-block:: python
119
119
@@ -134,7 +134,7 @@ Logging details
134
134
:code:`logging.getLogger("google").propagate = True` in your code.
135
135
#. You can mix the different logging configurations above for different Google modules. For example, you may want use a code-based logging configuration for
136
136
one library, but decide you need to also set up environment-based logging configuration for another library.
137
-
1. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
137
+
#. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
138
138
if the code -based configuration gets applied first.
139
139
#. The Google-specific logging configurations (default handlers for environment-based configuration; not propagating logging events to the root logger) get
140
140
executed the first time *any* client library is instantiated in your application, and only if the affected loggers have not been previously configured.
Copy file name to clipboardExpand all lines: tests/integration/goldens/redis/README.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ LOGGING
55
55
This library uses the standard Python :code:`logging` functionality to log some RPC events that could be of interest for debugging and monitoring purposes.
56
56
Note the following:
57
57
58
-
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or Google Cloud Logging.
58
+
#. Logs may contain sensitive information. Take care to **restrict access to the logs** if they are saved, whether it be on local storage or on Google Cloud Logging.
59
59
#. Google may refine the occurrence, level, and content of various log messages in this library without flagging such changes as breaking. **Do not depend on immutability of the logging events**.
60
60
#. By default, the logging events from this library are not handled. You must **explicitly configure log handling** using one of the mechanisms below.
61
61
@@ -85,7 +85,7 @@ Examples
85
85
86
86
export GOOGLE_SDK_PYTHON_LOGGING_SCOPE=google
87
87
88
-
- Enabling the default handler for a specific Google module (In the case of a client library called :code:`Library`):
88
+
- Enabling the default handler for a specific Google module (for a client library called :code:`library_v1`):
89
89
90
90
.. code-block:: console
91
91
@@ -113,7 +113,7 @@ Examples
113
113
base_logger.addHandler(logging.StreamHandler())
114
114
base_logger.setLevel(logging.DEBUG)
115
115
116
-
- Configuring a handler for a specific Google module (In the case of a client library called :code:`library_v1`):
116
+
- Configuring a handler for a specific Google module (for a client library called :code:`library_v1`):
117
117
118
118
.. code-block:: python
119
119
@@ -134,7 +134,7 @@ Logging details
134
134
:code:`logging.getLogger("google").propagate = True` in your code.
135
135
#. You can mix the different logging configurations above for different Google modules. For example, you may want use a code-based logging configuration for
136
136
one library, but decide you need to also set up environment-based logging configuration for another library.
137
-
1. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
137
+
#. If you attempt to use both code-based and environment-based configuration for the same module, the environment-based configuration will be ineffectual
138
138
if the code -based configuration gets applied first.
139
139
#. The Google-specific logging configurations (default handlers for environment-based configuration; not propagating logging events to the root logger) get
140
140
executed the first time *any* client library is instantiated in your application, and only if the affected loggers have not been previously configured.
0 commit comments