appender « grails « Java Enterprise Q&A





1. log4j with grails: How to get appender file name at run time?    stackoverflow.com

I am working on a grails app where in development mode, I log some calculations to a log file through log4j. I want to provide a service which will read the ...

2. send log output to different files in grails 1.3.2    stackoverflow.com

I want to have log output of my packages or classes in a specific appender. But everything is printed out to the root-logger. Here is my config:

log4j = {
    appenders ...

3. How to exclude package from grails log4j appender    stackoverflow.com

I have an appender configured in Config.groovy like this:

all myLog:['grails.app.controller', 'grails.app.service', 'grails.app.domain', 'grails.app.task'], additivity: false
Now there is a special package inside the above packages which I don't want to log, e.g. ...

4. Grails - log into files via appender    stackoverflow.com

This post has NOT been accepted by the mailing list yet. Hi everyone, Thank you in advance for any help provided. I encounter a problem trying to keep track of my logs ...