0
我創建RestEasy服務器至極控制optaplanner。我向服務器發送請求,並且服務器啓動optaplanner。當我像正常應用日食開始optaplanner然後正確記錄的作品,但是當我跑我的服務器至極開始optaplanner我的日誌看起來像Optaplanner日誌無法正常運行從RestEasy服務器
2017-06-08 10:35:13,033 [123] INFO VehicleRoutingSolution TMS_DATA has 1 depots, 20 vehicles and 70 customers with a search space of 10^25.
2017-06-08 10:35:13,034 [123] INFO Imported: \\xxxx\xxxxx\xxx\xxxx.vrp
2017-06-08 10:35:13,740 [SwingWorker-pool-8-thread-1] INFO Solving started: time spent (394), best score (70uninitialized/-42308000hard/0soft), environment mode (REPRODUCIBLE), random (JDK with seed 0).
2017-06-08 10:35:13,916 [SwingWorker-pool-8-thread-1] INFO Custom phase (0) ended: step total (1), time spent (570), best score (-42308000hard/0soft).
2017-06-08 10:35:16,157 [SwingWorker-pool-8-thread-1] INFO Construction Heuristic phase (1) ended: step total (50), time spent (2811), best score (-38400hard/-2911900soft).
2017-06-08 10:35:21,673 [AWT-EventQueue-0] INFO Terminating solver early.
2017-06-08 10:35:21,675 [SwingWorker-pool-8-thread-1] INFO Local Search phase (2) ended: step total (8), time spent (8329), best score (-31200hard/-2911900soft).
2017-06-08 10:35:21,676 [SwingWorker-pool-8-thread-1] INFO Solving ended: time spent (8330), best score (-31200hard/-2911900soft), average calculate count per second (1306), environment mode (REPRODUCIBLE).
我在Eclipse項目結構看起來像
我添加了optaplanner來構建路徑和部署程序集。
它看起來像logback.xml level = -info,但它是-debug。
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d [%t] %-5p %m%n</pattern>
</encoder>
</appender>
<logger name="org.optaplanner" level="${logback.level.org.optaplanner:-debug}"/>
<root level="debug">
<appender-ref ref="consoleAppender" />
</root>
</configuration>
我認爲整個應用程序找不到lockback.xml,但是在tomcat上解壓縮.war文件之後。任何想法如何帶回optaplanner日誌?
有關此[Wildfly with OptaPlanner]( http://optashift-employee-rostering-optashift-gdesmet-redhat-com.1d35.starter -us-east-1.openshiftapps.com/)問題。看起來像appservers忽略我們的logback配置等 –