-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathlogging.properties
29 lines (23 loc) · 1.02 KB
/
logging.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# Copyright 2024 IBM Corporation.
# SPDX-License-Identifier: Apache2.0
#
# This file contains a default java.util.logging configuration
# for the Java SDK core library. This file can be used as an
# example for configurating Java core logging to suit your own requirements.
#
# To use this file, you can add the "-Djava.util.logging.config.file=logging.properties"
# option to your java command line.
# For more information on java.util.logging, please see:
# https://docs.oracle.com/en/java/javase/11/core/java-logging-overview.html
# Enable output to the console
handlers=java.util.logging.ConsoleHandler
# Limit which messages are displayed on the console
java.util.logging.ConsoleHandler.level=INFO
# Configure a one-line message format using SimpleFormatter
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format=%1$tF %1$tT.%1$tL [%4$s] %5$s%6$s%n
# Set global log level to INFO
.level=INFO
# Set Java SDK core log level to INFO
com.ibm.cloud.sdk.core.level=INFO