670N/A#
823N/A# Copyright (c) 2009-2016 Oracle and/or its affiliates. All rights reserved.
823N/A# Copyright (c) 2009-2016 Jason Mehrens. All Rights Reserved.
670N/A#
670N/A# Redistribution and use in source and binary forms, with or without
670N/A# modification, are permitted provided that the following conditions
670N/A# are met:
670N/A#
670N/A# - Redistributions of source code must retain the above copyright
670N/A# notice, this list of conditions and the following disclaimer.
670N/A#
670N/A# - Redistributions in binary form must reproduce the above copyright
670N/A# notice, this list of conditions and the following disclaimer in the
670N/A# documentation and/or other materials provided with the distribution.
670N/A#
670N/A# - Neither the name of Oracle nor the names of its
670N/A# contributors may be used to endorse or promote products derived
670N/A# from this software without specific prior written permission.
670N/A#
670N/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
670N/A# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
670N/A# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
670N/A# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
670N/A# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
670N/A# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
670N/A# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
670N/A# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
670N/A# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
670N/A# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
670N/A# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
670N/A
670N/A
670N/A
670N/A
313N/A# This can be used by setting the system property
313N/A# -Djava.util.logging.config.file=path to this file
313N/A
313N/A# Taken from the JDK defaults.
313N/Ahandlers= java.util.logging.ConsoleHandler
313N/A.level= INFO
313N/Ajava.util.logging.ConsoleHandler.level = INFO
313N/Ajava.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
313N/A
313N/A
313N/A# Set the mail handler demo logger level
313N/AMailHandlerDemo.level = ALL
313N/A
313N/A# Configure the MailHandler.
313N/Acom.sun.mail.util.logging.MailHandler.level = ALL
313N/Acom.sun.mail.util.logging.MailHandler.mail.host = my-mail-server
313N/Acom.sun.mail.util.logging.MailHandler.mail.from = me@example.com
313N/Acom.sun.mail.util.logging.MailHandler.mail.to = me@example.com
313N/Acom.sun.mail.util.logging.MailHandler.verify = local
313N/A
313N/A# Add attachments if needed.
313N/A#com.sun.mail.util.logging.MailHandler.attachment.formatters = java.util.logging.SimpleFormatter, java.util.logging.XMLFormatter
313N/A
313N/A# No filters.
313N/A#com.sun.mail.util.logging.MailHandler.attachment.filters = null, null
313N/A
823N/A# Formatter class name or strings.
823N/A#com.sun.mail.util.logging.MailHandler.attachment.names = simple.txt, error.xml
313N/A
313N/A
313N/A# Store messages on error by installing the FileErrorManager (demo code).
313N/Acom.sun.mail.util.logging.MailHandler.errorManager = FileErrorManager
313N/A
313N/A# Configure the FileErrorManager for demo (not required).
313N/A# FileErrorManager.pattern = path-to-dir
313N/A
313N/A# Debug mail transport issues.
313N/Amail.debug = false