From 151e05d0874af458912398bfe11c9cdf68d912f5 Mon Sep 17 00:00:00 2001 From: JamesHillyard Date: Wed, 22 Dec 2021 12:11:11 +0000 Subject: [PATCH] Revert "Merge pull request #5305 from rdebusscher/FISH-1509" This reverts commit a44c23397d310abd84f914ccf2e11fb78f945227. --- .../payara/micro/impl/PayaraMicroImpl.java | 3 +- .../main/resources/config/logging.properties | 113 ++++++--------- .../util/logging/LoggingConfigImpl.java | 2 +- .../util/logging/SortedLoggingProperties.java | 78 ---------- .../logging/SortedLoggingPropertiesTest.java | 83 ----------- .../test/resources/config/logging.properties | 137 ------------------ 6 files changed, 44 insertions(+), 372 deletions(-) delete mode 100644 nucleus/common/common-util/src/main/java/com/sun/common/util/logging/SortedLoggingProperties.java delete mode 100644 nucleus/common/common-util/src/test/java/com/sun/common/util/logging/SortedLoggingPropertiesTest.java delete mode 100644 nucleus/common/common-util/src/test/resources/config/logging.properties diff --git a/appserver/extras/payara-micro/payara-micro-core/src/main/java/fish/payara/micro/impl/PayaraMicroImpl.java b/appserver/extras/payara-micro/payara-micro-core/src/main/java/fish/payara/micro/impl/PayaraMicroImpl.java index 70a3f92bd96..64fab0cd4a8 100644 --- a/appserver/extras/payara-micro/payara-micro-core/src/main/java/fish/payara/micro/impl/PayaraMicroImpl.java +++ b/appserver/extras/payara-micro/payara-micro-core/src/main/java/fish/payara/micro/impl/PayaraMicroImpl.java @@ -75,7 +75,6 @@ import java.util.logging.Logger; import com.sun.appserv.server.util.Version; -import com.sun.common.util.logging.SortedLoggingProperties; import com.sun.enterprise.glassfish.bootstrap.Constants; import com.sun.enterprise.glassfish.bootstrap.GlassFishImpl; import com.sun.enterprise.server.logging.ODLLogFormatter; @@ -1791,7 +1790,7 @@ private void resetLogging(String loggingProperty) { // now write them back try (OutputStream os = new FileOutputStream(runtimeDir.getLoggingProperties())) { - new SortedLoggingProperties(currentProps).store(os, "Generated Logging properties file from Payara Micro log to file option"); + currentProps.store(os, "Generated Logging properties file from Payara Micro log to file option"); } catch (IOException ex) { LOGGER.log(Level.SEVERE, "Unable to load the logging properties from the runtime directory", ex); } diff --git a/nucleus/admin/template/src/main/resources/config/logging.properties b/nucleus/admin/template/src/main/resources/config/logging.properties index aeb4c0e5135..f6dd29c4dc7 100644 --- a/nucleus/admin/template/src/main/resources/config/logging.properties +++ b/nucleus/admin/template/src/main/resources/config/logging.properties @@ -37,101 +37,72 @@ # only if the new code is made subject to such option by the copyright # holder. # -# Portions Copyright [2016-2021] [Payara Foundation and/or its affiliates] +# Portions Copyright [2016-2019] [Payara Foundation and/or its affiliates] #GlassFish logging.properties list -#Update June 13 2012 - +#Update Thurs Oct 18 2012 #All attributes details handlers=java.util.logging.ConsoleHandler handlerServices=com.sun.enterprise.server.logging.GFFileHandler,com.sun.enterprise.server.logging.SyslogHandler java.util.logging.ConsoleHandler.formatter=com.sun.enterprise.server.logging.UniformLogFormatter -java.util.logging.FileHandler.count=1 -java.util.logging.FileHandler.formatter=java.util.logging.XMLFormatter -java.util.logging.FileHandler.limit=50000 -java.util.logging.FileHandler.pattern=%h/java%u.log -com.sun.enterprise.server.logging.GFFileHandler.compressOnRotation=false -com.sun.enterprise.server.logging.GFFileHandler.excludeFields= +com.sun.enterprise.server.logging.GFFileHandler.formatter=com.sun.enterprise.server.logging.ODLLogFormatter com.sun.enterprise.server.logging.GFFileHandler.file=${com.sun.aas.instanceRoot}/logs/server.log +com.sun.enterprise.server.logging.GFFileHandler.rotationTimelimitInMinutes=0 com.sun.enterprise.server.logging.GFFileHandler.flushFrequency=1 -com.sun.enterprise.server.logging.GFFileHandler.formatter=com.sun.enterprise.server.logging.ODLLogFormatter -com.sun.enterprise.server.logging.GFFileHandler.level=ALL -com.sun.enterprise.server.logging.GFFileHandler.logStandardStreams=true -com.sun.enterprise.server.logging.GFFileHandler.logtoConsole=false +java.util.logging.FileHandler.limit=50000 com.sun.enterprise.server.logging.GFFileHandler.logtoFile=true -com.sun.enterprise.server.logging.GFFileHandler.maxHistoryFiles=0 -com.sun.enterprise.server.logging.GFFileHandler.multiLineMode=true -com.sun.enterprise.server.logging.GFFileHandler.retainErrorsStasticsForHours=0 +com.sun.enterprise.server.logging.GFFileHandler.logtoConsole=false com.sun.enterprise.server.logging.GFFileHandler.rotationLimitInBytes=2000000 -com.sun.enterprise.server.logging.GFFileHandler.rotationOnDateChange=false -com.sun.enterprise.server.logging.GFFileHandler.rotationTimelimitInMinutes=0 -com.sun.enterprise.server.logging.SyslogHandler.level=ALL +com.sun.enterprise.server.logging.GFFileHandler.excludeFields= +com.sun.enterprise.server.logging.GFFileHandler.multiLineMode=true com.sun.enterprise.server.logging.SyslogHandler.useSystemLogging=false +java.util.logging.FileHandler.count=1 +com.sun.enterprise.server.logging.GFFileHandler.retainErrorsStasticsForHours=0 log4j.logger.org.hibernate.validator.util.Version=warn +com.sun.enterprise.server.logging.GFFileHandler.maxHistoryFiles=0 +com.sun.enterprise.server.logging.GFFileHandler.rotationOnDateChange=false +java.util.logging.FileHandler.pattern=%h/java%u.log +java.util.logging.FileHandler.formatter=java.util.logging.XMLFormatter +com.sun.enterprise.server.logging.GFFileHandler.compressOnRotation=false +com.sun.enterprise.server.logging.GFFileHandler.logStandardStreams=true com.sun.enterprise.server.logging.UniformLogFormatter.ansiColor=true #Payara Notification logging properties -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.compressOnRotation=false -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.file=${com.sun.aas.instanceRoot}/logs/notification.log -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.formatter=com.sun.enterprise.server.logging.ODLLogFormatter fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.logtoFile=true -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.maxHistoryFiles=0 -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.rotationLimitInBytes=2000000 fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.rotationOnDateChange=false fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.rotationTimelimitInMinutes=0 +fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.rotationLimitInBytes=2000000 +fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.maxHistoryFiles=0 +fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.file=${com.sun.aas.instanceRoot}/logs/notification.log +fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.compressOnRotation=false +fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.formatter=com.sun.enterprise.server.logging.ODLLogFormatter + fish.payara.deprecated.jsonlogformatter.underscoreprefix=false #All log level details - -.level=INFO -ShoalLogger.level=CONFIG -com.hazelcast.level=WARNING +com.sun.enterprise.server.logging.GFFileHandler.level=ALL +com.sun.enterprise.server.logging.SyslogHandler.level=ALL +javax.enterprise.system.tools.admin.level=INFO +org.apache.jasper.level=INFO +javax.enterprise.system.core.level=INFO +javax.enterprise.system.core.classloading.level=INFO java.util.logging.ConsoleHandler.level=FINEST -javax.enterprise.resource.corba.level=INFO -javax.enterprise.resource.javamail.level=INFO -javax.enterprise.resource.jdo.level=INFO -javax.enterprise.resource.jms.level=INFO -javax.enterprise.resource.jta.level=INFO +javax.enterprise.system.tools.deployment.level=INFO +javax.enterprise.system.core.transaction.level=INFO +org.apache.catalina.level=INFO +org.apache.coyote.level=INFO +javax.level=INFO +javax.enterprise.system.util.level=INFO javax.enterprise.resource.resourceadapter.level=INFO -javax.enterprise.resource.sqltrace.level=FINE -javax.enterprise.resource.webcontainer.jsf.application.level=INFO -javax.enterprise.resource.webcontainer.jsf.config.level=INFO -javax.enterprise.resource.webcontainer.jsf.context.level=INFO -javax.enterprise.resource.webcontainer.jsf.facelets.level=INFO -javax.enterprise.resource.webcontainer.jsf.lifecycle.level=INFO -javax.enterprise.resource.webcontainer.jsf.managedbean.level=INFO -javax.enterprise.resource.webcontainer.jsf.renderkit.level=INFO -javax.enterprise.resource.webcontainer.jsf.resource.level=INFO -javax.enterprise.resource.webcontainer.jsf.taglib.level=INFO -javax.enterprise.resource.webcontainer.jsf.timing.level=INFO -javax.enterprise.system.container.cmp.level=INFO -javax.enterprise.system.container.ejb.level=INFO -javax.enterprise.system.container.ejb.mdb.level=INFO -javax.enterprise.system.container.web.level=INFO -javax.enterprise.system.core.classloading.level=INFO javax.enterprise.system.core.config.level=INFO -javax.enterprise.system.core.level=INFO +javax.enterprise.system.level=INFO javax.enterprise.system.core.security.level=INFO +javax.enterprise.system.container.cmp.level=INFO javax.enterprise.system.core.selfmanagement.level=INFO -javax.enterprise.system.core.transaction.level=INFO -javax.enterprise.system.level=INFO -javax.enterprise.system.ssl.security.level=INFO -javax.enterprise.system.tools.admin.level=INFO -javax.enterprise.system.tools.backup.level=INFO -javax.enterprise.system.tools.deployment.common.level=WARNING -javax.enterprise.system.tools.deployment.dol.level=WARNING -javax.enterprise.system.tools.deployment.level=INFO -javax.enterprise.system.util.level=INFO -javax.enterprise.system.webservices.registry.level=INFO -javax.enterprise.system.webservices.rpc.level=INFO -javax.enterprise.system.webservices.saaj.level=INFO -javax.level=INFO -javax.mail.level=INFO -javax.org.glassfish.persistence.level=INFO -org.apache.catalina.level=INFO -org.apache.coyote.level=INFO -org.apache.jasper.level=INFO -org.eclipse.persistence.session.level=INFO -org.glassfish.admingui.level=INFO -org.glassfish.naming.level=INFO +.level=INFO +javax.enterprise.resource.jdo.level=INFO +javax.enterprise.resource.sqltrace.level=FINE org.jvnet.hk2.osgiadapter.level=INFO +javax.enterprise.system.ssl.security.level=INFO +ShoalLogger.level=CONFIG +com.hazelcast.level=WARNING diff --git a/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/LoggingConfigImpl.java b/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/LoggingConfigImpl.java index 24d596b6900..1d7d24dd396 100644 --- a/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/LoggingConfigImpl.java +++ b/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/LoggingConfigImpl.java @@ -164,7 +164,7 @@ private void closePropFile() throws IOException { throw new IOException(); } try (OutputStream os = new BufferedOutputStream(new FileOutputStream(file))) { - new SortedLoggingProperties(props).store(os, "GlassFish logging.properties list"); + props.store(os, "GlassFish logging.properties list"); os.flush(); fileMonitoring.fileModified(file); } diff --git a/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/SortedLoggingProperties.java b/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/SortedLoggingProperties.java deleted file mode 100644 index 29ede2c77b6..00000000000 --- a/nucleus/common/common-util/src/main/java/com/sun/common/util/logging/SortedLoggingProperties.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.sun.common.util.logging; - -import java.util.*; -import java.util.regex.Pattern; -import java.util.stream.Collectors; -import java.util.stream.Stream; - -public class SortedLoggingProperties extends Properties { - - private final List patterns; - - private final Properties properties; - - public SortedLoggingProperties(Properties properties) { - this.properties = properties; - - patterns = Stream.of("handlers" - , "handlerServices" - ,"java\\.util\\.logging\\.ConsoleHandler\\.formatter" - , "java\\.util\\.logging\\.FileHandler.*" - , "com\\.sun\\.enterprise\\.server\\.logging\\.GFFileHandler.*" - , "com\\.sun\\.enterprise\\.server\\.logging\\.SyslogHandler.*" - , "log4j\\.logger\\.org\\.hibernate\\.validator\\.util\\.Version" - , "com\\.sun\\.enterprise\\.server\\.logging\\.UniformLogFormatter.*" - , "fish\\.payara\\.enterprise\\.server\\.logging\\.PayaraNotificationFileHandler.*" - , "fish\\.payara\\.deprecated\\.jsonlogformatter\\.underscoreprefix" - , "(.*)?\\.level" - ).map(Pattern::compile).collect(Collectors.toList()); - } - - @Override - public synchronized Enumeration keys() { - List keys = Collections.list(properties.keys()); - - List keyPatternIndex - = keys.stream().map(k -> defineIndex(k.toString())).collect(Collectors.toList()); - LoggingKeySorter keySorter = new LoggingKeySorter(keys, keyPatternIndex); - keys.sort(keySorter); - return Collections.enumeration(keys); - } - - private Integer defineIndex(String key) { - int result = Integer.MAX_VALUE; // Unknowns at the end. - for (int idx = 0; idx < patterns.size(); idx++) { - if (patterns.get(idx).matcher(key).matches()) { - result = idx; - break; - } - } - return result; - } - - @Override - public synchronized Object get(Object key) { - return properties.get(key); - } - - private static class LoggingKeySorter implements Comparator{ - private List keys; - private List keyPatternIndex; - - public LoggingKeySorter(List keys, List keyPatternIndex) { - this.keys = new ArrayList<>(keys); - this.keyPatternIndex = keyPatternIndex; - } - - @Override - public int compare(Object k1, Object k2) { - Integer v1 = keyPatternIndex.get(keys.indexOf(k1)); - Integer v2 = keyPatternIndex.get(keys.indexOf(k2)); - int result = v1.compareTo(v2); - if (result == 0) { - result = k1.toString().compareTo(k2.toString()); - } - return result; - } - } -} diff --git a/nucleus/common/common-util/src/test/java/com/sun/common/util/logging/SortedLoggingPropertiesTest.java b/nucleus/common/common-util/src/test/java/com/sun/common/util/logging/SortedLoggingPropertiesTest.java deleted file mode 100644 index 96afe3ac542..00000000000 --- a/nucleus/common/common-util/src/test/java/com/sun/common/util/logging/SortedLoggingPropertiesTest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. - * - * Copyright (c) [2021] Payara Foundation and/or its affiliates. All rights reserved. - * - * The contents of this file are subject to the terms of either the GNU - * General Public License Version 2 only ("GPL") or the Common Development - * and Distribution License("CDDL") (collectively, the "License"). You - * may not use this file except in compliance with the License. You can - * obtain a copy of the License at - * https://github.com/payara/Payara/blob/master/LICENSE.txt - * See the License for the specific - * language governing permissions and limitations under the License. - * - * When distributing the software, include this License Header Notice in each - * file and include the License file at glassfish/legal/LICENSE.txt. - * - * GPL Classpath Exception: - * The Payara Foundation designates this particular file as subject to the "Classpath" - * exception as provided by the Payara Foundation in the GPL Version 2 section of the License - * file that accompanied this code. - * - * Modifications: - * If applicable, add the following below the License Header, with the fields - * enclosed by brackets [] replaced by your own identifying information: - * "Portions Copyright [year] [name of copyright owner]" - * - * Contributor(s): - * If you wish your version of this file to be governed by only the CDDL or - * only the GPL Version 2, indicate your decision by adding "[Contributor] - * elects to include this software in this distribution under the [CDDL or GPL - * Version 2] license." If you don't indicate a single choice of license, a - * recipient has the option to distribute your version of this file under - * either the CDDL, the GPL Version 2 or to extend the choice of license to - * its licensees as provided above. However, if you add GPL Version 2 code - * and therefore, elected the GPL Version 2 license, then the option applies - * only if the new code is made subject to such option by the copyright - * holder. - */ - -package com.sun.common.util.logging; - -import org.junit.Assert; -import org.junit.Test; - -import java.io.*; -import java.util.Arrays; -import java.util.Properties; - -public class SortedLoggingPropertiesTest { - - @Test - public void testSortedKeys() throws IOException { - Properties properties = new Properties(); - - InputStream inStream = SortedLoggingPropertiesTest.class.getResourceAsStream("/config/logging.properties"); - Assert.assertNotNull("logging.properties file is found", inStream); - properties.load(inStream); - inStream.close(); - - SortedLoggingProperties sortedProperties = new SortedLoggingProperties(properties); - OutputStream outStream = new ByteArrayOutputStream(); - sortedProperties.store(outStream, "Test"); - outStream.flush(); - - String[] lines = outStream.toString().split("\n"); - // First line is the comments, Second line the date. So first real line is lines[2] - Assert.assertTrue("First properties line must be 'handlers' ",lines[2].startsWith("handlers=")); - Assert.assertTrue("Second properties line must be 'handlerServices' ",lines[3].startsWith("handlerServices=")); - Assert.assertTrue("Third properties line must be 'java.util.logging.ConsoleHandler.formatter' ",lines[4].startsWith("java.util.logging.ConsoleHandler.formatter=")); - Assert.assertTrue("Fifth properties line must be 'java.util.logging.FileHandler.count' ",lines[5].startsWith("java.util.logging.FileHandler.count=")); - Assert.assertTrue("9th properties line must be 'com.sun.enterprise.server.logging.GFFileHandler.compressOnRotation' ",lines[9].startsWith("com.sun.enterprise.server.logging.GFFileHandler.compressOnRotation=")); - Assert.assertTrue("24th properties line must be 'com.sun.enterprise.server.logging.SyslogHandler.level' ",lines[24].startsWith("com.sun.enterprise.server.logging.SyslogHandler.level=")); - Assert.assertTrue("27th properties line must be 'com.sun.enterprise.server.logging.UniformLogFormatter.ansiColor' ",lines[27].startsWith("com.sun.enterprise.server.logging.UniformLogFormatter.ansiColor=")); - Assert.assertTrue("28th properties line must be 'fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.compressOnRotation' ",lines[28].startsWith("fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.compressOnRotation=")); - Assert.assertTrue("37th properties line must be '.level' ",lines[37].startsWith(".level=")); - - Assert.assertEquals("Total number of lines is 89 ", 89, lines.length); - - Arrays.stream(lines).forEach(System.out::println); - - } -} \ No newline at end of file diff --git a/nucleus/common/common-util/src/test/resources/config/logging.properties b/nucleus/common/common-util/src/test/resources/config/logging.properties deleted file mode 100644 index 7cdf45e8e41..00000000000 --- a/nucleus/common/common-util/src/test/resources/config/logging.properties +++ /dev/null @@ -1,137 +0,0 @@ -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. -# -# Copyright (c) 2013 Oracle and/or its affiliates. All rights reserved. -# -# The contents of this file are subject to the terms of either the GNU -# General Public License Version 2 only ("GPL") or the Common Development -# and Distribution License("CDDL") (collectively, the "License"). You -# may not use this file except in compliance with the License. You can -# obtain a copy of the License at -# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html -# or packager/legal/LICENSE.txt. See the License for the specific -# language governing permissions and limitations under the License. -# -# When distributing the software, include this License Header Notice in each -# file and include the License file at packager/legal/LICENSE.txt. -# -# GPL Classpath Exception: -# Oracle designates this particular file as subject to the "Classpath" -# exception as provided by Oracle in the GPL Version 2 section of the License -# file that accompanied this code. -# -# Modifications: -# If applicable, add the following below the License Header, with the fields -# enclosed by brackets [] replaced by your own identifying information: -# "Portions Copyright [year] [name of copyright owner]" -# -# Contributor(s): -# If you wish your version of this file to be governed by only the CDDL or -# only the GPL Version 2, indicate your decision by adding "[Contributor] -# elects to include this software in this distribution under the [CDDL or GPL -# Version 2] license." If you don't indicate a single choice of license, a -# recipient has the option to distribute your version of this file under -# either the CDDL, the GPL Version 2 or to extend the choice of license to -# its licensees as provided above. However, if you add GPL Version 2 code -# and therefore, elected the GPL Version 2 license, then the option applies -# only if the new code is made subject to such option by the copyright -# holder. -# -# Portions Copyright [2016-2019] [Payara Foundation and/or its affiliates] - -#GlassFish logging.properties list -#Update Thurs Oct 18 2012 -#All attributes details -handlers=java.util.logging.ConsoleHandler -handlerServices=com.sun.enterprise.server.logging.GFFileHandler,com.sun.enterprise.server.logging.SyslogHandler -java.util.logging.ConsoleHandler.formatter=com.sun.enterprise.server.logging.UniformLogFormatter -com.sun.enterprise.server.logging.GFFileHandler.formatter=com.sun.enterprise.server.logging.ODLLogFormatter -com.sun.enterprise.server.logging.GFFileHandler.file=${com.sun.aas.instanceRoot}/logs/server.log -com.sun.enterprise.server.logging.GFFileHandler.rotationTimelimitInMinutes=0 -com.sun.enterprise.server.logging.GFFileHandler.flushFrequency=1 -java.util.logging.FileHandler.limit=50000 -com.sun.enterprise.server.logging.GFFileHandler.logtoFile=true -com.sun.enterprise.server.logging.GFFileHandler.logtoConsole=false -com.sun.enterprise.server.logging.GFFileHandler.rotationLimitInBytes=2000000 -com.sun.enterprise.server.logging.GFFileHandler.excludeFields= -com.sun.enterprise.server.logging.GFFileHandler.multiLineMode=true -com.sun.enterprise.server.logging.SyslogHandler.useSystemLogging=false -java.util.logging.FileHandler.count=1 -com.sun.enterprise.server.logging.GFFileHandler.retainErrorsStasticsForHours=0 -log4j.logger.org.hibernate.validator.util.Version=warn -com.sun.enterprise.server.logging.GFFileHandler.maxHistoryFiles=0 -com.sun.enterprise.server.logging.GFFileHandler.rotationOnDateChange=false -java.util.logging.FileHandler.pattern=%h/java%u.log -java.util.logging.FileHandler.formatter=java.util.logging.XMLFormatter -com.sun.enterprise.server.logging.GFFileHandler.compressOnRotation=false -com.sun.enterprise.server.logging.GFFileHandler.logStandardStreams=true -com.sun.enterprise.server.logging.UniformLogFormatter.ansiColor=true - -#Payara Notification logging properties -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.logtoFile=true -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.rotationOnDateChange=false -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.rotationTimelimitInMinutes=0 -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.rotationLimitInBytes=2000000 -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.maxHistoryFiles=0 -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.file=${com.sun.aas.instanceRoot}/logs/notification.log -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.compressOnRotation=false -fish.payara.enterprise.server.logging.PayaraNotificationFileHandler.formatter=com.sun.enterprise.server.logging.ODLLogFormatter - -fish.payara.deprecated.jsonlogformatter.underscoreprefix=false - -#All log level details -com.sun.enterprise.server.logging.GFFileHandler.level=ALL -com.sun.enterprise.server.logging.SyslogHandler.level=ALL -javax.enterprise.system.tools.admin.level=INFO -org.apache.jasper.level=INFO -javax.enterprise.system.core.level=INFO -javax.enterprise.system.core.classloading.level=INFO -java.util.logging.ConsoleHandler.level=FINEST -javax.enterprise.system.tools.deployment.level=INFO -javax.enterprise.system.core.transaction.level=INFO -org.apache.catalina.level=INFO -org.apache.coyote.level=INFO -javax.level=INFO -javax.enterprise.system.util.level=INFO -javax.enterprise.resource.resourceadapter.level=INFO -javax.enterprise.system.core.config.level=INFO -javax.enterprise.system.level=INFO -javax.enterprise.system.core.security.level=INFO -javax.enterprise.system.container.cmp.level=INFO -javax.enterprise.system.core.selfmanagement.level=INFO -.level=INFO -javax.enterprise.resource.jdo.level=INFO -javax.enterprise.resource.sqltrace.level=FINE -org.jvnet.hk2.osgiadapter.level=INFO -javax.enterprise.system.ssl.security.level=INFO -ShoalLogger.level=CONFIG -com.hazelcast.level=WARNING - -javax.enterprise.resource.corba.level=INFO -javax.enterprise.resource.jta.level=INFO -javax.enterprise.system.webservices.saaj.level=INFO -javax.enterprise.system.container.ejb.level=INFO -javax.enterprise.system.container.ejb.mdb.level=INFO -javax.enterprise.resource.javamail.level=INFO -javax.enterprise.system.webservices.rpc.level=INFO -javax.enterprise.system.container.web.level=INFO -javax.enterprise.resource.jms.level=INFO -javax.enterprise.system.webservices.registry.level=INFO -javax.enterprise.resource.webcontainer.jsf.application.level=INFO -javax.enterprise.resource.webcontainer.jsf.resource.level=INFO -javax.enterprise.resource.webcontainer.jsf.config.level=INFO -javax.enterprise.resource.webcontainer.jsf.context.level=INFO -javax.enterprise.resource.webcontainer.jsf.facelets.level=INFO -javax.enterprise.resource.webcontainer.jsf.lifecycle.level=INFO -javax.enterprise.resource.webcontainer.jsf.managedbean.level=INFO -javax.enterprise.resource.webcontainer.jsf.renderkit.level=INFO -javax.enterprise.resource.webcontainer.jsf.taglib.level=INFO -javax.enterprise.resource.webcontainer.jsf.timing.level=INFO -javax.org.glassfish.persistence.level=INFO -javax.enterprise.system.tools.backup.level=INFO -javax.mail.level=INFO -org.glassfish.admingui.level=INFO -org.glassfish.naming.level=INFO -org.eclipse.persistence.session.level=INFO -javax.enterprise.system.tools.deployment.dol.level=WARNING -javax.enterprise.system.tools.deployment.common.level=WARNING