How to reproduce :
- In log file, following lines are present :
2021-11-04 11:18:20,372 ERROR [org.ametys.cms.transformation.EnhancementHandlersExtensionPoint] (http-nio-8080-exec-2;/cms/generate/www/fr/fonctionnalites-avancees/insertion-de-donnees.html) The query of id 'personnel' is included in the content of title 'Source de données et requêtes' but was deleted.
2021-11-04 11:25:21,400 ERROR [org.ametys.core.schedule.AmetysJob$org.ametys.cms.duplicate.DuplicateContentsDetectionSchedulable] (AmetysRuntimeScheduler_Worker-5;/cms/_admin/plugins/admin/config/set) An exception occured during the execution of the Schedulable 'org.ametys.cms.duplicate.DuplicateContentsDetectionSchedulable'
java.lang.IllegalArgumentException: Missing or badly configured duplicate-contents.xml file inside WEB-INF/param folder
at org.ametys.cms.duplicate.contents.DuplicateContentsDetectionSchedulable._doExecute(DuplicateContentsDetectionSchedulable.java:95)
at org.ametys.cms.schedule.AbstractSendingMailSchedulable.execute(AbstractSendingMailSchedulable.java:81)
at org.ametys.core.schedule.AmetysJob.execute(AmetysJob.java:151)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
- When opening this log file into log tool, the event of 11:25 is not displayed :
and details of event dated on 11:18 is containing information on 11:25 :
[CMS-10957] Log file incorrectly read into log tool
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Attachment | New: DisplayLogTool.png [ 24762 ] |
Attachment | New: test-2022-01-03.log [ 24761 ] |
Assignee | New: Cédric Damioli [ cedric ] |
Fix Version/s | New: 4.4.9 [ 16785 ] | |
Fix Version/s | Original: 4.4.8 [ 16685 ] |
Fix Version/s | New: 4.4.8 [ 16685 ] | |
Fix Version/s | Original: 4.4.7 [ 16585 ] |
Rank | New: Ranked higher |
Sprint | New: 4.5 M8 [ 66 ] |
I found a case with a simple example that doesn't work correctly.
I did this script:
First log has a "-" in the category name.
And I get this file: test-2022-01-03.log
It is displayed like this in the display log tool: