Closed xcelerent closed 2 years ago
Thanks @xcelerent - we'll do some testing on this this week and get back to you.
@xcelerent Try out what's in #630 . It's possible to get rid of the SLF4J warnings, but in my view, I prefer having the mlcp dependency without any exclusions.
The issue is described in https://stackoverflow.com/questions/73565288/how-to-show-mlcp-copy-summary-at-the-end-of-the-copy-process
Describe the bug I think it is related to the MLCP 10.0,9 . The summary of that task run is missing since 10.0.6.2
I thought it might be how to set the new log4j2.xml. (Maybe the log message failed to show in the console.) I tried different ways, however, none works so far.
I am not sure whether the current log4j.properties still works for the new log4j2 library in mlcp. I need a working sample project in Gradle for it.
To Reproduce Simply compare the result between mlcp 10.0.6.2 and the current 10.0.9 for running importSemicolonDelimitedText task.
Expected behaviour
2022-10-16 07:50:09 INFO ContentPump:239 - Job name: local_1563293504_1 2022-10-16 07:50:09 INFO FileAndDirectoryInputFormat:217 - Total input paths to process : 1 2022-10-16 07:50:10 INFO LocalJobRunner:464 - completed 100% 2022-10-16 07:50:10 INFO LocalJobRunner:231 - com.marklogic.mapreduce.MarkLogicCounter: 2022-10-16 07:50:10 INFO LocalJobRunner:235 - INPUT_RECORDS: 2 2022-10-16 07:50:10 INFO LocalJobRunner:235 - OUTPUT_RECORDS: 2 2022-10-16 07:50:10 INFO LocalJobRunner:235 - OUTPUT_RECORDS_COMMITTED: 2 2022-10-16 07:50:10 INFO LocalJobRunner:235 - OUTPUT_RECORDS_FAILED: 0 2022-10-16 07:50:10 INFO LocalJobRunner:239 - Total execution time: 0 sec :importSemicolonDelimitedText (Thread[Execution worker for ':',5,main]) completed. Took 2.637 secs.