Discussion:
log4j/slf4j logger problem with FATAL
gaidap
2014-05-20 14:47:36 UTC
Permalink
Hello,

i have a Problem with the log4j settings.

When i'm logging with log.fatal("blah") it will log to the level ERROR and
not the FATAL level.
I don't no why this is the behaviour.

My settings in Config.groovy are:

log4j = {
appenders {
console name: 'stdout', layout: pattern(conversionPattern: '%d
[%t] %-5p %c - %m%n')
}

root {
fatal 'stdout'
}

fatal 'grails.app'
}



--
View this message in context: http://grails.1312388.n4.nabble.com/log4j-slf4j-logger-problem-with-FATAL-tp4656957.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
gaidap
2014-05-20 14:50:05 UTC
Permalink
Hello, i have a Problem with the log4j settings. When i'm logging with
log.fatal("blah") it will log to the level ERROR and not the FATAL level. I
don't no why this is the behaviour. My settings in Config.groovy are: log4j
= { appenders { console name: 'stdout', layout:
pattern(conversionPattern: '%d [%t] %-5p %c - %m%n') } root {
fatal 'stdout' } fatal 'grails.app' }



--
View this message in context: http://grails.1312388.n4.nabble.com/log4j-slf4j-logger-problem-with-FATAL-tp4656958.html
Sent from the Grails - user mailing list archive at Nabble.com.
gaidap
2014-05-20 14:50:51 UTC
Permalink
Hello,

i have a Problem with the log4j settings.

When i'm logging with log.fatal("blah") it will log to the level ERROR and
not the FATAL level.
I don't no why this is the behaviour.

My settings in Config.groovy are:

log4j = {
appenders {
console name: 'stdout', layout: pattern(conversionPattern: '%d
[%t] %-5p %c - %m%n')
}

root {
fatal 'stdout'
}

fatal 'grails.app'
}



--
View this message in context: http://grails.1312388.n4.nabble.com/log4j-slf4j-logger-problem-with-FATAL-tp4656959.html
Sent from the Grails - user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Grant McConnaughey
2014-05-20 15:20:58 UTC
Permalink
Post this on StackOverflow. Copying and pasting Jeff Scott Brown's response:

Please see
http://grails.1312388.n4.nabble.com/Deprecating-The-Grails-Mailing-Lists-td4656735.html
.
Post by gaidap
Hello,
i have a Problem with the log4j settings.
When i'm logging with log.fatal("blah") it will log to the level ERROR and
not the FATAL level.
I don't no why this is the behaviour.
log4j = {
appenders {
console name: 'stdout', layout: pattern(conversionPattern: '%d
[%t] %-5p %c - %m%n')
}
root {
fatal 'stdout'
}
fatal 'grails.app'
}
--
http://grails.1312388.n4.nabble.com/log4j-slf4j-logger-problem-with-FATAL-tp4656959.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Grant McConnaughey
Loading...