How to configure Grails plugin to override Log4J settings for “parent” apps?
问题 I'm writing a Grails plugin that will impose very specific log4j settings (in its own log4j.xml ), and I would like to configure it such that an app which uses this plugin is forced to use the plugin's log4j configuration (instead of any log4j configs that the app itself has defined). For example, let's say I want the plugin to force all downstream Grails apps to log to a file called /var/log/fizz.log . How could I make this work? Update : And if it's not possible for the plugin to override