Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arquillian and appmgr trace for OpenAPI TCK #30531

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
###############################################################################
# Copyright (c) 2018 IBM Corporation and others.
# Copyright (c) 2018, 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
bootstrap.include=../testports.properties
com.ibm.ws.logging.trace.specification=*=info:MPOPENAPI=debug:io.smallrye.openapi.*=all
#com.ibm.ws.logging.trace.specification=*=info:MPOPENAPI=debug:io.smallrye.openapi.*=all
#com.ibm.ws.logging.trace.specification=*=info=enabled:logservice=all=enabled:mpOpenAPI=debug=enabled
#com.ibm.ws.logging.trace.specification=*=info:io.smallrye.openapi.*=all

# Logging for RTC 302767 & 303413
com.ibm.ws.logging.trace.specification=com.ibm.ws.app.manager.*=all
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
handlers = com.ibm.ws.fat.util.GenericHandler

# The GenericHandler will log all messages printed at any logging level
com.ibm.ws.fat.util.GenericHandler.level=ALL
com.ibm.ws.fat.util.GenericHandler.formatter=com.ibm.ws.fat.util.GenericFormatter
com.ibm.ws.fat.util.GenericHandler.stream=system.out
com.ibm.ws.fat.util.GenericHandler.flush=true

com.ibm.ws.fat.util.GenericFormatter.class.full=false
com.ibm.ws.fat.util.GenericFormatter.class.length=30
com.ibm.ws.fat.util.GenericFormatter.class.log=true
com.ibm.ws.fat.util.GenericFormatter.level.log=true
com.ibm.ws.fat.util.GenericFormatter.method.length=30
com.ibm.ws.fat.util.GenericFormatter.method.log=true
com.ibm.ws.fat.util.GenericFormatter.thread.length=3
com.ibm.ws.fat.util.GenericFormatter.thread.log=true
com.ibm.ws.fat.util.GenericFormatter.time.format=[MM/dd/yyyy HH:mm:ss:SSS z]
com.ibm.ws.fat.util.GenericFormatter.time.log=true

# Enable logging for the arquillian container for RTC 302767 & 303413
io.openliberty.arquillian.managed.level=FINER
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
<version>${surefire.version}</version>
<configuration>
<argLine>-Dfile.encoding=${project.build.sourceEncoding} -Dcom.ibm.tools.attach.enable=yes</argLine> <!-- Needed for ZOS. sourceEncoding is needed becuase arquillian calls string.getBtytes(). Attach is needed becuase because arquillian uses com.sun.tools.attach to find VMs -->
<systemProperties>
<property>
<name>java.util.logging.config.file</name>
<value>logging.properties</value>
</property>
</systemProperties>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
###############################################################################
# Copyright (c) 2018 IBM Corporation and others.
# Copyright (c) 2018, 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
bootstrap.include=../testports.properties
com.ibm.ws.logging.trace.specification=*=info:MPOPENAPI=debug:io.smallrye.openapi.*=all
#com.ibm.ws.logging.trace.specification=*=info:MPOPENAPI=debug:io.smallrye.openapi.*=all
#com.ibm.ws.logging.trace.specification=*=info=enabled:logservice=all=enabled:mpOpenAPI=debug=enabled
#com.ibm.ws.logging.trace.specification=*=info:io.smallrye.openapi.*=all

# Logging for RTC 302767 & 303413
com.ibm.ws.logging.trace.specification=com.ibm.ws.app.manager.*=all
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
handlers = com.ibm.ws.fat.util.GenericHandler

# The GenericHandler will log all messages printed at any logging level
com.ibm.ws.fat.util.GenericHandler.level=ALL
com.ibm.ws.fat.util.GenericHandler.formatter=com.ibm.ws.fat.util.GenericFormatter
com.ibm.ws.fat.util.GenericHandler.stream=system.out
com.ibm.ws.fat.util.GenericHandler.flush=true

com.ibm.ws.fat.util.GenericFormatter.class.full=false
com.ibm.ws.fat.util.GenericFormatter.class.length=30
com.ibm.ws.fat.util.GenericFormatter.class.log=true
com.ibm.ws.fat.util.GenericFormatter.level.log=true
com.ibm.ws.fat.util.GenericFormatter.method.length=30
com.ibm.ws.fat.util.GenericFormatter.method.log=true
com.ibm.ws.fat.util.GenericFormatter.thread.length=3
com.ibm.ws.fat.util.GenericFormatter.thread.log=true
com.ibm.ws.fat.util.GenericFormatter.time.format=[MM/dd/yyyy HH:mm:ss:SSS z]
com.ibm.ws.fat.util.GenericFormatter.time.log=true

# Enable logging for the arquillian container for RTC 302767 & 303413
io.openliberty.arquillian.managed.level=FINER
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@
<version>${surefire.version}</version>
<configuration>
<argLine>-Dfile.encoding=${project.build.sourceEncoding} -Dcom.ibm.tools.attach.enable=yes</argLine> <!-- Needed for ZOS. sourceEncoding is needed becuase arquillian calls string.getBtytes(). Attach is needed becuase because arquillian uses com.sun.tools.attach to find VMs -->

<systemProperties>
<property>
<name>java.util.logging.config.file</name>
<value>logging.properties</value>
</property>
</systemProperties>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
###############################################################################
# Copyright (c) 2018 IBM Corporation and others.
# Copyright (c) 2018, 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
bootstrap.include=../testports.properties
com.ibm.ws.logging.trace.specification=*=info:MPOPENAPI=debug:io.smallrye.openapi.*=all
#com.ibm.ws.logging.trace.specification=*=info:MPOPENAPI=debug:io.smallrye.openapi.*=all
#com.ibm.ws.logging.trace.specification=*=info=enabled:logservice=all=enabled:mpOpenAPI=debug=enabled
#com.ibm.ws.logging.trace.specification=*=info:io.smallrye.openapi.*=all

# Logging for RTC 302767 & 303413
com.ibm.ws.logging.trace.specification=com.ibm.ws.app.manager.*=all
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
handlers = com.ibm.ws.fat.util.GenericHandler

# The GenericHandler will log all messages printed at any logging level
com.ibm.ws.fat.util.GenericHandler.level=ALL
com.ibm.ws.fat.util.GenericHandler.formatter=com.ibm.ws.fat.util.GenericFormatter
com.ibm.ws.fat.util.GenericHandler.stream=system.out
com.ibm.ws.fat.util.GenericHandler.flush=true

com.ibm.ws.fat.util.GenericFormatter.class.full=false
com.ibm.ws.fat.util.GenericFormatter.class.length=30
com.ibm.ws.fat.util.GenericFormatter.class.log=true
com.ibm.ws.fat.util.GenericFormatter.level.log=true
com.ibm.ws.fat.util.GenericFormatter.method.length=30
com.ibm.ws.fat.util.GenericFormatter.method.log=true
com.ibm.ws.fat.util.GenericFormatter.thread.length=3
com.ibm.ws.fat.util.GenericFormatter.thread.log=true
com.ibm.ws.fat.util.GenericFormatter.time.format=[MM/dd/yyyy HH:mm:ss:SSS z]
com.ibm.ws.fat.util.GenericFormatter.time.log=true

# Enable logging for the arquillian container for RTC 302767 & 303413
io.openliberty.arquillian.managed.level=FINER
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@
<version>${surefire.version}</version>
<configuration>
<argLine>-Dfile.encoding=${project.build.sourceEncoding} -Dcom.ibm.tools.attach.enable=yes</argLine> <!-- Needed for ZOS. sourceEncoding is needed becuase arquillian calls string.getBtytes(). Attach is needed becuase because arquillian uses com.sun.tools.attach to find VMs -->

<systemProperties>
<property>
<name>java.util.logging.config.file</name>
<value>logging.properties</value>
</property>
</systemProperties>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
###############################################################################
# Copyright (c) 2018 IBM Corporation and others.
# Copyright (c) 2018, 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# IBM Corporation - initial API and implementation
###############################################################################
bootstrap.include=../testports.properties
#com.ibm.ws.logging.trace.specification=*=info:MPOPENAPI=debug:io.smallrye.openapi.*=all
#com.ibm.ws.logging.trace.specification=*=info=enabled:logservice=all=enabled:mpOpenAPI=debug=enabled
#com.ibm.ws.logging.trace.specification=*=info:io.smallrye.openapi.*=all

# Logging for RTC 302767 & 303413
com.ibm.ws.logging.trace.specification=com.ibm.ws.app.manager.*=all
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
handlers = com.ibm.ws.fat.util.GenericHandler

# The GenericHandler will log all messages printed at any logging level
com.ibm.ws.fat.util.GenericHandler.level=ALL
com.ibm.ws.fat.util.GenericHandler.formatter=com.ibm.ws.fat.util.GenericFormatter
com.ibm.ws.fat.util.GenericHandler.stream=system.out
com.ibm.ws.fat.util.GenericHandler.flush=true

com.ibm.ws.fat.util.GenericFormatter.class.full=false
com.ibm.ws.fat.util.GenericFormatter.class.length=30
com.ibm.ws.fat.util.GenericFormatter.class.log=true
com.ibm.ws.fat.util.GenericFormatter.level.log=true
com.ibm.ws.fat.util.GenericFormatter.method.length=30
com.ibm.ws.fat.util.GenericFormatter.method.log=true
com.ibm.ws.fat.util.GenericFormatter.thread.length=3
com.ibm.ws.fat.util.GenericFormatter.thread.log=true
com.ibm.ws.fat.util.GenericFormatter.time.format=[MM/dd/yyyy HH:mm:ss:SSS z]
com.ibm.ws.fat.util.GenericFormatter.time.log=true

# Enable logging for the arquillian container for RTC 302767 & 303413
io.openliberty.arquillian.managed.level=FINER
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@
<version>${surefire.version}</version>
<configuration>
<argLine>-Dfile.encoding=${project.build.sourceEncoding} -Dcom.ibm.tools.attach.enable=yes</argLine> <!-- Needed for ZOS. sourceEncoding is needed becuase arquillian calls string.getBtytes(). Attach is needed becuase because arquillian uses com.sun.tools.attach to find VMs -->

<systemProperties>
<property>
<name>java.util.logging.config.file</name>
<value>logging.properties</value>
</property>
</systemProperties>
<suiteXmlFiles>
<suiteXmlFile>${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles>
Expand Down