8265961: Fix comments in logging.properties

Reviewed-by: dfuchs, mr, iris, jjg
This commit is contained in:
Pavel Rappo 2021-04-26 17:35:31 +00:00
parent 65c19c4094
commit efe6b93325

View file

@ -2,15 +2,15 @@
# Default Logging Configuration File # Default Logging Configuration File
# #
# You can use a different file by specifying a filename # You can use a different file by specifying a filename
# with the java.util.logging.config.file system property. # with the java.util.logging.config.file system property.
# For example java -Djava.util.logging.config.file=myfile # For example, java -Djava.util.logging.config.file=myfile
############################################################ ############################################################
############################################################ ############################################################
# Global properties # Global properties
############################################################ ############################################################
# "handlers" specifies a comma separated list of log Handler # "handlers" specifies a comma-separated list of log Handler
# classes. These handlers will be installed during VM startup. # classes. These handlers will be installed during VM startup.
# Note that these classes must be on the system classpath. # Note that these classes must be on the system classpath.
# By default we only configure a ConsoleHandler, which will only # By default we only configure a ConsoleHandler, which will only
@ -23,7 +23,7 @@ handlers= java.util.logging.ConsoleHandler
# Default global logging level. # Default global logging level.
# This specifies which kinds of events are logged across # This specifies which kinds of events are logged across
# all loggers. For any given facility this global level # all loggers. For any given facility this global level
# can be overriden by a facility specific level # can be overridden by a facility-specific level
# Note that the ConsoleHandler also has a separate level # Note that the ConsoleHandler also has a separate level
# setting to limit messages printed to the console. # setting to limit messages printed to the console.
.level= INFO .level= INFO
@ -43,18 +43,18 @@ java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.maxLocks = 100 java.util.logging.FileHandler.maxLocks = 100
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
# Limit the message that are printed on the console to INFO and above. # Limit the messages that are printed on the console to INFO and above.
java.util.logging.ConsoleHandler.level = INFO java.util.logging.ConsoleHandler.level = INFO
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
# Example to customize the SimpleFormatter output format # Example to customize the SimpleFormatter output format
# to print one-line log message like this: # to print one-line log message like this:
# <level>: <log message> [<date/time>] # <level>: <log message> [<date/time>]
# #
# java.util.logging.SimpleFormatter.format=%4$s: %5$s [%1$tc]%n # java.util.logging.SimpleFormatter.format=%4$s: %5$s [%1$tc]%n
############################################################ ############################################################
# Facility specific properties. # Facility-specific properties.
# Provides extra control for each logger. # Provides extra control for each logger.
############################################################ ############################################################