Frage:
Wie aktiviert man das Logging im WMPS?
Antwort:
Zunächst das erweiterte logging aktivieren:
C:\Program Files (x86)\AED-SICAD\WebMapPlotService\WebMapPlotService\properties\log4j.properties
log4j.logger.PLOT-WMPS=ERROR,R,HTML --> log4j.logger.PLOT-WMPS=ALL,R,HTML
und
C:\Program Files (x86)\AED-SICAD\WebMapPlotService\WebMapPlotService\WEB-INF\web.xml
<init-param>
<param-name>PLOT_WMPS_ANALYSE</param-name>
<param-value>ON</param-value>
</init-param>
Damit wird der XML Request nicht gelöscht und kann ebenfalls geprüft werden. WMPS neu starten. Anschließend erneut ein PDF anfordern. Der Request liegt dann unter:
<WMPS-Installation>\tmp
und
C:\Program Files (x86)\AED-SICAD\WebMapPlotService\WebMapPlotService\bin\AedSicad.LandManagement.Plot.WebMapPlotService.xml
<!-- Set WMPS logger level and its only appender to RollingFile -->
<logger name="PLOT-WMPS">
<appender-ref ref="RollingLogFileAppender"/>
<level value="ALL" />
<!-- WMPS: Nach Anforderung der Hotline kann die zusaetzliche Meldungsausgabe -->
<!-- von Modus FATAL auf ALL gestellt werden. -->
<!-- WMPS: Upon request from the support team, additional messages can be -->
<!-- requested by changing the mode FATAL to ALL -->
</logger>
Folgende Logs werden benötigt.
Vorher die alten Logs löschen und dann den Fehler reproduzieren. Das erleichtert die Suche.
C:\Program Files (x86)\AED-SICAD\WebMapPlotService\WebMapPlotService\logs\*.log
C:\Program Files (x86)\AED-SICAD\WebMapPlotService\WebMapPlotService\output\*.xml
C:\Program Files (x86)\AED-SICAD\PlotXYZ\Tmp\*.*
Kommentare
0 Kommentare
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.