-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update based on S Starks comment - fix CP issue
- Loading branch information
1 parent
e760ff7
commit f6d235a
Showing
7 changed files
with
81 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
glassfish-runner/assembly-tck/jakartaeetck/logging.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
handlers=java.util.logging.FileHandler,java.util.logging.ConsoleHandler | ||
|
||
org.glassfish.level=ALL | ||
com.sun.level=FINEST | ||
jakarta.enterprise.level=ALL | ||
|
||
|
||
tck.jakarta.platform.ant.level = FINER | ||
org.glassfish.appclient.client.level = FINER | ||
|
||
java.util.logging.FileHandler.pattern = tck-run.log | ||
java.util.logging.FileHandler.level = FINEST | ||
#java.util.logging.FileHandler.formatter = tck.conversion.log.TestLogFormatter | ||
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter | ||
# date(1), source(2), logger(3), level(4), message(5), thrown(6) | ||
java.util.logging.SimpleFormatter.format = [%1$tH:%tM:%1$tS.%1$tL] %2$.12s/%4$s %5$s %n | ||
|
||
# Limit the message that are printed on the console to INFO and above. | ||
java.util.logging.ConsoleHandler.level = FINEST | ||
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
libutil/src/main/java/com/sun/ts/lib/util/TestReportInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* Copyright (c) 2007, 2018 Oracle and/or its affiliates. All rights reserved. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License v. 2.0, which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* This Source Code may also be made available under the following Secondary | ||
* Licenses when the conditions for such availability set forth in the | ||
* Eclipse Public License v. 2.0 are satisfied: GNU General Public License, | ||
* version 2 with the GNU Classpath Exception, which is available at | ||
* https://www.gnu.org/software/classpath/license.html. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | ||
*/ | ||
|
||
/* | ||
* $Id$ | ||
*/ | ||
|
||
package com.sun.ts.lib.util; | ||
|
||
import java.io.*; | ||
import java.util.*; | ||
import java.net.*; | ||
import java.text.SimpleDateFormat; | ||
|
||
|
||
|
||
|
||
public class TestReportInfo implements Serializable { | ||
public int iDebugLevel = TestUtil.NORMAL_OUTPUT_LEVEL; | ||
|
||
public String sOutput = ""; // Constants.EMPTY_STRING; | ||
|
||
public Throwable exception = null; | ||
|
||
public int iStream = TestUtil.OUTPUT_STREAM; | ||
|
||
public TestReportInfo(String output, int stream, int level, Throwable e) { | ||
if (sOutput != null) | ||
sOutput = output; | ||
iDebugLevel = level; | ||
exception = e; | ||
iStream = stream; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters