2

I would like to activate the logback internal devbug mode (to get more information during the logback setup).

I know how to do this in xml file (using a debug="true" in the configuration declaration). I discovered that it could be possible to force the flag using a system property (but I didn't achieved that)

Jeremy L
  • 251
  • 1
  • 3
  • 12

2 Answers2

1

OK I've seen this comment in the GafferConfigurator.groovy :
// For now, Groovy/Gaffer configuration DSL does not support "debug" attribute. But in order to keep // the conditional logic identical to that in XML/Joran, we have this empty block.

So we can conclude it's not yet implemented...

Jeremy L
  • 251
  • 1
  • 3
  • 12
0

In logback.groovy you can set the level; by default it's set to "ERROR" in the logger() call.

sfell77
  • 976
  • 1
  • 9
  • 15
  • My question was about the debug level for the internal setup of Logback. I'm not sure your answer was about that. Or I misunderstood you and I am interested in having more information about the solution. – Jeremy L Jan 17 '17 at 15:53