[
https://issues.jboss.org/browse/JBRULES-3712?page=com.atlassian.jira.plug...
]
Geoffrey De Smet commented on JBRULES-3712:
-------------------------------------------
Quick hack is to add the MDC lines before and after SingleBenchmark.call()
But we want to support this in production too, for SaaS etc.
Logging of multiple Solvers in parallel is confusing: support MDC to
make them readable
---------------------------------------------------------------------------------------
Key: JBRULES-3712
URL:
https://issues.jboss.org/browse/JBRULES-3712
Project: JBRULES
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: drools-planner
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Basically we want this kind of logging output when running 3 solvers in parallel:
{code}
Solver1 INFO Step (34)
Solver1 INFO Step (35)
Solver2 INFO Step (88)
Solver1 INFO Step (36)
Solver2 INFO Step (89)
Solver7 INFO Step (10)
Solver3 INFO Step (37)
{code}
but we don't want to prefix every logging message with the solver name, that's a
big pita. Luckily:
SLF4j exposes MDC's which make this a breeze:
http://logback.qos.ch/manual/mdc.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira