Displaying #maven-dev/2017-10-17.log:

Tue Oct 17 04:49:53 2017  mbenson_:Joined the channel
Tue Oct 17 04:52:34 2017  mbenson__:Joined the channel
Tue Oct 17 06:39:26 2017  struberg:Joined the channel
Tue Oct 17 06:55:03 2017  mbenson__:Joined the channel
Tue Oct 17 07:15:16 2017  struberg:Joined the channel
Tue Oct 17 08:30:39 2017  struberg1:Joined the channel
Tue Oct 17 09:10:26 2017  struberg:Joined the channel
Tue Oct 17 10:52:24 2017  struberg:Joined the channel
Tue Oct 17 11:08:29 2017  struberg:Joined the channel
Tue Oct 17 11:25:03 2017  struberg:Joined the channel
Tue Oct 17 12:11:16 2017  tibor_:Joined the channel
Tue Oct 17 12:12:47 2017  tibor_:@hboutemy: How can I detect logger is off via mvn -q? The DefaultLogger returns true from method isInfoEnabled().
Tue Oct 17 12:21:16 2017  struberg:Joined the channel
Tue Oct 17 12:38:47 2017  struberg:Joined the channel
Tue Oct 17 12:38:52 2017  struberg:Left the channel
Tue Oct 17 13:40:52 2017  mbenson_:Joined the channel
Tue Oct 17 16:08:12 2017  hboutemy:Joined the channel
Tue Oct 17 16:24:24 2017  hboutemy:Joined the channel
Tue Oct 17 16:43:00 2017  hboutemy:Joined the channel
Tue Oct 17 16:57:45 2017  hboutemy:Joined the channel
Tue Oct 17 17:15:55 2017  hboutemy:Joined the channel
Tue Oct 17 17:34:47 2017  hboutemy:Joined the channel
Tue Oct 17 17:52:44 2017  hboutemy:Joined the channel
Tue Oct 17 18:00:47 2017  rfscholte:Joined the channel
Tue Oct 17 18:10:53 2017  hboutemy:Joined the channel
Tue Oct 17 18:29:32 2017  hboutemy:Joined the channel
Tue Oct 17 18:33:13 2017  tibor_:Joined the channel
Tue Oct 17 18:33:46 2017  tibor_:@hboutemy Hi Herve
Tue Oct 17 18:43:04 2017  tibor_:How can I detect "mvn -q". It is not possible to know in DefaultLogger.
Tue Oct 17 18:48:46 2017  hboutemy:Joined the channel
Tue Oct 17 19:03:15 2017  tibor_:@hboutemy How logger should behave in case of mvn -q ?
Tue Oct 17 19:04:28 2017  tibor_:How can I print anyway?
Tue Oct 17 19:14:43 2017  hboutemy:tibor_: Hi
Tue Oct 17 19:14:54 2017  tibor_:Hi Herve
Tue Oct 17 19:14:57 2017  hboutemy:it only logs errors
Tue Oct 17 19:15:18 2017  tibor_:I was debugging DefaultLogger
Tue Oct 17 19:15:21 2017  hboutemy:perhaps warnings
Tue Oct 17 19:15:21 2017  hboutemy:but not info
Tue Oct 17 19:15:30 2017  tibor_:and isInfoEnabled() returned true
Tue Oct 17 19:15:39 2017  hboutemy:uh
Tue Oct 17 19:16:12 2017  tibor_:you say isErrorEnabled() should reurn true?
Tue Oct 17 19:17:45 2017  hboutemy: else if ( cliRequest.quiet )
Tue Oct 17 19:17:45 2017  hboutemy: {
Tue Oct 17 19:17:45 2017  hboutemy: cliRequest.request.setLoggingLevel( MavenExecutionRequest.LOGGING_LEVEL_ERROR );
Tue Oct 17 19:17:45 2017  hboutemy: slf4jConfiguration.setRootLoggerLevel( Slf4jConfiguration.Level.ERROR );
Tue Oct 17 19:17:45 2017  hboutemy: }
Tue Oct 17 19:18:12 2017  hboutemy:in MavenCli#492
Tue Oct 17 19:19:54 2017  tibor_:I saw this as well.
Tue Oct 17 19:19:59 2017  hboutemy:I don't know how DefaultLogger works
Tue Oct 17 19:20:09 2017  hboutemy:Slf4jLogger delegates to Slf4j
Tue Oct 17 19:20:10 2017  tibor_:I am going to try to debug it again
Tue Oct 17 19:20:23 2017  hboutemy:but I don't know how DefaultLogger loggs
Tue Oct 17 19:20:31 2017  hboutemy:where is it?
Tue Oct 17 19:20:38 2017  tibor_:surefire
Tue Oct 17 19:21:13 2017  hboutemy:whic component, please?
Tue Oct 17 19:24:21 2017  hboutemy:$ find . -name "*Logger.java"
Tue Oct 17 19:24:22 2017  hboutemy:./maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/log/PluginConsoleLogger.java
Tue Oct 17 19:24:22 2017  hboutemy:./maven-surefire-report-plugin/src/main/java/org/apache/maven/plugins/surefire/report/PluginConsoleLogger.java
Tue Oct 17 19:24:22 2017  hboutemy:./surefire-logger-api/src/main/java/org/apache/maven/plugin/surefire/log/api/ConsoleLogger.java
Tue Oct 17 19:24:22 2017  hboutemy:./surefire-logger-api/src/main/java/org/apache/maven/plugin/surefire/log/api/NullConsoleLogger.java
Tue Oct 17 19:24:22 2017  hboutemy:./surefire-logger-api/src/main/java/org/apache/maven/plugin/surefire/log/api/PrintStreamLogger.java
Tue Oct 17 19:25:04 2017  tibor_:I cannot find it, but debugger showed me. I am trying to debug again.
Tue Oct 17 19:28:46 2017  tibor_:I found it.
Tue Oct 17 19:28:51 2017  tibor_:DefaultLog.java
Tue Oct 17 19:29:05 2017  tibor_:in maven-plugin-api
Tue Oct 17 19:29:05 2017  hboutemy:notice org.apache.maven.plugin.logging
Tue Oct 17 19:29:24 2017  hboutemy:SystemStreamLog
Tue Oct 17 19:29:44 2017  hboutemy:which has static values for "isXXXEnables()"
Tue Oct 17 19:31:07 2017  hboutemy:regarding DefaultLog, it delegates to org.codehaus.plexus.logging.Logger
Tue Oct 17 19:32:44 2017  hboutemy:need to find how Plexus injects logger
Tue Oct 17 19:34:46 2017  hboutemy:plexusLoggerManager = new Slf4jLoggerManager();
Tue Oct 17 19:34:54 2017  hboutemy:in MavenCli#544
Tue Oct 17 19:35:40 2017  tibor_:isErrorEnabled(), isWarnEnabled(), isInfoEnabled() return true in DefaultLog.java
Tue Oct 17 19:35:49 2017  tibor_:let me see plexus
Tue Oct 17 19:36:30 2017  hboutemy:with Slf4jLoggerManager(), everything whould be ok
Tue Oct 17 19:36:34 2017  hboutemy:I need to leave
Tue Oct 17 19:36:39 2017  hboutemy:good night
Tue Oct 17 19:38:45 2017  tibor_:good night
Tue Oct 17 20:13:10 2017  mbenson:Joined the channel
Tue Oct 17 23:40:57 2017  mbenson:Joined the channel
Tue Oct 17 23:40:58 2017  mbenson:Joined the channel
Tue Oct 17 23:42:52 2017  mbenson_:Joined the channel

Comments