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

Enable CloudHub logging configuration when deploying applications #649

Open
wants to merge 1 commit into
base: support/3.8.x
Choose a base branch
from

Conversation

jgalati-mulesoft
Copy link

  • Added logLevels field to API call when deploying to CloudHub
  • Added the optional property logLevelInfos to the CloudHub Deployment Maven Plugin

This PR makes it possible to add a logging configuration, while deploying an application to CloudHub 1 using the Mule Maven Plugin.

The mule-maven-plugin in a project's pom.xml should be configured as follows:

<build>
...
			<plugin>
				<groupId>org.mule.tools.maven</groupId>
				<artifactId>mule-maven-plugin</artifactId>
				<version>${mule.maven.plugin.version}</version>
				<extensions>true</extensions>
				<configuration>
					...
					<cloudHubDeployment>
                                          ...
						<logLevelInfos>
							<logLevelInfo>
								<packageName>com.muley.test.1</packageName>
								<level>DEBUG</level>
							</logLevelInfo>
							<logLevelInfo>
								<packageName>com.muley.test.2</packageName>
								<level>INFO</level>
							  </logLevelInfo>
						</logLevelInfos>
                                          ...
					</cloudHubDeployment>
				</configuration>
			</plugin>
...
</build>

* Added logLevels field to API call when deploying to CloudHub
* Added the optional property logLevelInfos to the CloudHub Deployment Maven Plugin
Copy link
Contributor

@mpereyra-salesforce mpereyra-salesforce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants