Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
GMaven
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Page Layout
No Layout
Two column (simple)
Two column (simple, left sidebar)
Two column (simple, right sidebar)
Three column (simple)
Two column
Two column (left sidebar)
Two column (right sidebar)
Three column
Three column (left and right sidebars)
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p><table class="wysiwyg-macro" data-macro-name="excerpt" data-macro-parameters="atlassian-macro-output-type=BLOCK" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2V4Y2VycHQ6YXRsYXNzaWFuLW1hY3JvLW91dHB1dC10eXBlPUJMT0NLfQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="RICH_TEXT"><tr><td class="wysiwyg-macro-body"> <p>For advanced users, some tweakable bits for those who like to flip switches.</p></td></tr></table></p> <img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3RvYzptYXhMZXZlbD0yfG1pbkxldmVsPTF9&locale=en_GB&version=2" data-macro-name="toc" data-macro-parameters="maxLevel=2|minLevel=1"> <h1>Logging Configuration</h1> <p>GMaven uses <a href="http://www.slf4j.org">SLF4j</a> and uses the <em>Gossip</em> provider to allow for simple and flexible configuration of logging output.</p> <p>Since version <code>1.0-rc-3</code>, GMaven provides some default profiles to enable more logging for GMaven components.</p> <p>To enable <code>DEBUG</code> logging for GMaven:</p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> mvn -Dgmaven.logging=DEBUG </pre></td></tr></table> <p>To enable <code>TRACE</code> logging for GMaven:</p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> mvn -Dgmaven.logging=TRACE </pre></td></tr></table> <h1>Custom Logging Configuration</h1> <p>By default Gossip will use a reasonable default configuration. But if you feel like Maven is not spitting out enough information, or want to target the information displayed.</p> <p>Try creating a <code>$HOME/.gossip/config.properties</code> file something like this:</p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> version=1.0 profiles=mojo-debug ## ## org.codehaus.mojo.logging=DEBUG ## profile.mojo-debug.triggers=default profile.mojo-debug.trigger.default=org.codehaus.groovy.maven.gossip.model.trigger.SystemPropertyTrigger profile.mojo-debug.trigger.default.name=org.codehaus.mojo.logging profile.mojo-debug.trigger.default.value=DEBUG profile.mojo-debug.trigger.default.ignoreCase=true profile.mojo-debug.filters=console profile.mojo-debug.filter.console=org.codehaus.groovy.maven.gossip.model.filter.ConsoleWriter profile.mojo-debug.filter.console.renderer=org.codehaus.groovy.maven.gossip.model.render.SimpleRenderer profile.mojo-debug.filter.console.renderer.includeName=true profile.mojo-debug.filter.console.renderer.shortName=true profile.mojo-debug.filter.console.renderer.nameWidth=30 profile.mojo-debug.logger.org.codehaus.mojo=DEBUG </pre></td></tr></table> <p>This example will enable DEBUG logging for Gossip enabled Mojo plugins when the <code>org.codehaus.mojo.logging</code> property is set to <code>DEBUG</code>.</p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> mvn groovy:providers -Dorg.codehaus.mojo.logging=DEBUG </pre></td></tr></table> <h2>Internal Logging Configuration</h2> <p>Sometimes you might need to see how the Gossip SLF4J provider is getting configured. To show Gossip's internal logging configure the <code>org.codehaus.groovy.maven.gossip.InternalLogger</code> system property, as in:</p> <table class="wysiwyg-macro" data-macro-name="noformat" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e25vZm9ybWF0fQ&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> mvn groovy:providers -Dorg.codehaus.groovy.maven.gossip.InternalLogger.level=TRACE </pre></td></tr></table>
Please type the word appearing in the picture.
Attachments
Labels
Location
Watch this page
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced