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

added logging properties to all workflows #411

Merged
merged 3 commits into from
Sep 18, 2024
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
9 changes: 8 additions & 1 deletion create-ocp-project/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ quarkus.openapi-generator.ocp_project_openapi_yaml.auth.BearerToken.bearer-token
quarkus.tls.trust-all=true
quarkus.kubernetes-client.trust-certs=true

quarkus.flyway.migrate-at-start=true
quarkus.flyway.migrate-at-start=true

# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO
8 changes: 6 additions & 2 deletions escalation/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ quarkus.kubernetes-client.trust-certs=true
quarkus.rest-client.notifications.url=${BACKSTAGE_NOTIFICATIONS_URL:http://backstage-backstage.rhdh-operator}
quarkus.openapi-generator.notifications.auth.BearerToken.bearer-token=${NOTIFICATIONS_BEARER_TOKEN}

# This is to enable debugging of HTTP request
quarkus.log.category.\"org.apache.http\".level=INFO
# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO

# Knative eventing configuration
mp.messaging.incoming.kogito_incoming_stream.connector=quarkus-http
Expand Down
6 changes: 6 additions & 0 deletions greeting/application.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO
9 changes: 8 additions & 1 deletion modify-vm-resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@ quarkus.openapi-generator.kubevirt_openapi_yaml.auth.BearerToken.bearer-token=${
quarkus.tls.trust-all=true
quarkus.kubernetes-client.trust-certs=true

quarkus.flyway.migrate-at-start=true
quarkus.flyway.migrate-at-start=true

# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO
9 changes: 8 additions & 1 deletion move2kube/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,11 @@ quarkus.rest-client.move2kube_yaml.url=${MOVE2KUBE_URL:http://move2kube-svc.move

# This property is used to send requests to the backstage notification plugin
quarkus.rest-client.notifications.url=${BACKSTAGE_NOTIFICATIONS_URL:http://backstage-backstage.rhdh-operator}
quarkus.openapi-generator.notifications.auth.BearerToken.bearer-token=${NOTIFICATIONS_BEARER_TOKEN}
quarkus.openapi-generator.notifications.auth.BearerToken.bearer-token=${NOTIFICATIONS_BEARER_TOKEN}

# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO
9 changes: 8 additions & 1 deletion mta-v6.x/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@ quarkus.rest-client.mta_json.url = ${mta.url}

# Backstage Notifications service
quarkus.rest-client.notifications.url=${BACKSTAGE_NOTIFICATIONS_URL:http://backstage-backstage.rhdh-operator}
quarkus.openapi-generator.notifications.auth.BearerToken.bearer-token=${NOTIFICATIONS_BEARER_TOKEN}
quarkus.openapi-generator.notifications.auth.BearerToken.bearer-token=${NOTIFICATIONS_BEARER_TOKEN}

# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO
7 changes: 7 additions & 0 deletions mta-v7.x/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ quarkus.rest-client.mta_json.url = ${mta.url}
# Backstage Notifications service
quarkus.rest-client.notifications.url=${BACKSTAGE_NOTIFICATIONS_URL:http://backstage-backstage.rhdh-operator}
quarkus.openapi-generator.notifications.auth.BearerToken.bearer-token=${NOTIFICATIONS_BEARER_TOKEN}

# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO
7 changes: 6 additions & 1 deletion mta/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ quarkus.rest-client.mta_json.url = ${mta.url}/hub
quarkus.rest-client.notifications.url=${BACKSTAGE_NOTIFICATIONS_URL:http://backstage-backstage.rhdh-operator}
quarkus.openapi-generator.notifications.auth.BearerToken.bearer-token=${NOTIFICATIONS_BEARER_TOKEN}

#quarkus.log.category.\"org.apache.http\".level = DEBUG
# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO
7 changes: 7 additions & 0 deletions mtv-migration/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ quarkus.rest-client.mtv_yaml.url=${OCP_API_SERVER_URL}
quarkus.openapi-generator.mtv_yaml.auth.BearerToken.bearer-token=${OCP_API_SERVER_TOKEN}
quarkus.tls.trust-all=true
quarkus.kubernetes-client.trust-certs=true

# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO
7 changes: 7 additions & 0 deletions mtv-plan/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ quarkus.rest-client.mtv_yaml.url=${OCP_API_SERVER_URL}
quarkus.openapi-generator.mtv_yaml.auth.BearerToken.bearer-token=${OCP_API_SERVER_TOKEN}
quarkus.tls.trust-all=true
quarkus.kubernetes-client.trust-certs=true

# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO
9 changes: 8 additions & 1 deletion request-vm-cnv/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,11 @@ quarkus.openapi-generator.kubevirt_openapi_yaml.auth.BearerToken.bearer-token=${
quarkus.tls.trust-all=true
quarkus.kubernetes-client.trust-certs=true

quarkus.flyway.migrate-at-start=true
quarkus.flyway.migrate-at-start=true

# This property is used to select the log level, which controls the amount
# of information logged on HTTP requests based on the severity of the events.
# Possible values: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL.
# and see https://quarkus.io/guides/logging for documentation
quarkus.log.category."org.apache.http".level=INFO
quarkus.log.level=INFO