Skip to content

Commit 90c87b5

Browse files
Ace Nassrichingor13
authored andcommitted
Update region tags (#1103)
* Update logback.xml * Update logging.properties * Update Quickstart.java * Update Quickstart.java
1 parent ee16b18 commit 90c87b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

samples/snippets/src/main/java/com/example/logging/logback/Quickstart.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.example.logging.logback;
1818

19-
// [START logback_quickstart]
19+
// [START logging_logback_quickstart]
2020

2121
import org.slf4j.Logger;
2222
import org.slf4j.LoggerFactory;
@@ -29,4 +29,4 @@ public static void main(String[] args) {
2929
logger.error("Logging ERROR with Logback");
3030
}
3131
}
32-
// [END logback_quickstart]
32+
// [END logging_logback_quickstart]

samples/snippets/src/main/resources/logback.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<!-- [START logback_config] -->
16+
<!-- [START logging_logback_config] -->
1717
<configuration>
1818
<appender name="CLOUD" class="com.google.cloud.logging.logback.LoggingAppender">
1919
<!-- Optional : filter logs at or above a level -->
@@ -30,4 +30,4 @@
3030
<appender-ref ref="CLOUD" />
3131
</root>
3232
</configuration>
33-
<!-- [END logback_config] -->
33+
<!-- [END logging_logback_config] -->

0 commit comments

Comments
 (0)