Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Logging in Groovy is based on the JDK logging facilities.
Please read the JDK logging documentation if you are new to the topic.

In order to enable tracing of how Groovy calls MetaMethods, use
the following settings:

in file %JAVA_HOME%/jre/lib/ or equivalent

  • make sure your log handler is configured to show level 'FINER' at least,
  • set MetaClass logging to 'FINER' at least,
  • set the appropriate Level for the Classes and optionally method names
    that you want to trace. The name for the appropriate logger starts with
    'methodCalls' and optionally ends with the method name,

with tracing enabled for all method calls a Groovy command line
script appears as follows (German locale)

  • No labels