title: grails plugin questions
body: <p>I'm a new of grails plugin,
  Here are my questions:</p>
  <p><strong>1.</strong> How to log plugin's service/controller 's log?</p>
  <p>for example, my plugin has: system.TzLibService, system.UserController</p>
  <p>how to set log4j config in mainapp config, in order to show all logs of my plugin's classes.</p>
  <p><strong>2.</strong> Is there anyway to change mainapp's Config.groovy?</p>
  <p>i want to change grails.config.locations after install my plugin
  in _install.groovy, add some ant commond? how?</p>
  <p><strong>3.</strong> inline plugin can't call _install.groovy ?</p>
  <h2><strong>4. plugin's controller do not add log method?</strong></h2>
  <p>system.UserController is one controller of my plugin</p>
  <p>it extends utils.AbstractController (at plugin's src/groovy)</p>
  <p>when visit /user/listAjax (extend from AbstractController), &quot;log.info&quot; can't find:</p>
  <blockquote>
  <p>groovy.lang.MissingPropertyException: No such property: log for class:
  system.UserController Possible
  solutions: g, jq, list, r, show<br />
  at system.UserController.propertyMissing(UserController.groovy)</p>
  <p>at ssh.AbstractController.getProperty(AbstractController.groovy)</p>
  <p>at ssh.AbstractController$_closure3.doCall(AbstractController.groovy:37)</p>
  </blockquote>
  <p>thanks</p>