title: how to use logback configured via logback.groovy with groovy
body: <p>I am not able to use logback configured via logback.groovy with groovy.</p>
  
  <p>If in a directory i have a script file called for example FooBar.groovy and the file logback.groovy
  when i run  <code>groovy FooBar.groovy</code>   groovy tries to compiles the logback configuration file too and my script doesn't work, i have to fallback to the default xml configuration file for logback (logback.xml).</p>
  
  <p>How can i make this to works?   can i call <code>groovy somefiles.groovy</code>  and configure groovy to ignore logback.groovy?</p>
  
  <p>Thanks for the help</p>