Addax
Addax copied to clipboard
[Bug]: log4j-core-2.17.1.jar
What happened?
代码运行老报错 提示找不到方法 方法就在这个包里 请问哪里用到了这个包 搜索所有代码也没发现有这个包啊 log4j-core-2.17.1.jar
Version
4.1.3 (Default)
OS Type
No response
Java JDK Version
Oracle JDK 1.8.0
Relevant log output
No response
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
___ _ _
/ _ \ | | | |
/ /_\ \ __| | __| | __ ___ __
| _ |/ _` |/ _` |/ _` \ \/ /
| | | | (_| | (_| | (_| |> <
\_| |_/\__,_|\__,_|\__,_/_/\_\
:: Addax version :: (v4.1.4-SNAPSHOT)
file = /data/servers/addax/conf/core.json
file = /data/servers/addax/plugin/writer/mysqlwriter/plugin.json
file = /data/servers/addax/plugin/reader/postgresqlreader/plugin.json
2024-04-01 14:26:59.741 [ main] INFO VMInfo - VMInfo# operatingSystem class => sun.management.OperatingSystemImpl
2024-04-01 14:26:59.753 [ main] INFO Engine -
{
"setting":{
"speed":{
"channel":1
},
"errorLimit":{
"record":111,
"percentage":0.02
}
},
"content":{
"reader":{
"name":"postgresqlreader",
"parameter":{
"username":"postgres",
"password":"*****",
"splitPk":"",
"connection":[
{
"querySql":[
"SELECT id,NAME,id_card,birthday,native_place,health_status,sex,mobile,death_status,area_name,street_name,hamlet_name,create_time,update_time FROM person_base_info"
],
"jdbcUrl":[
"jdbc:postgresql://172.18.1.126:5433/test_demo"
]
}
]
}
},
"writer":{
"name":"mysqlwriter",
"parameter":{
"username":"ruoyi5",
"password":"*****",
"column":[
"`id`",
"`name`",
"`id_card`",
"`birthday`",
"`native_place`",
"`health_status`",
"`sex`",
"`mobile`",
"`death_status`",
"`area_name`",
"`street_name`",
"`hamlet_name`",
"`create_time`",
"`update_time`"
],
"preSql":[
"delete from `ruoyi5`.`person_base_info`"
],
"connection":[
{
"table":[
"person_base_info"
],
"jdbcUrl":"jdbc:mysql://172.18.1.126:3306/ruoyi5?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true"
}
]
}
}
}
}
2024-04-01 14:26:59.767 [ main] INFO JobContainer - The jobContainer begins to process the job.
2024-04-01 14:26:59.941 [ job-0] INFO OriginalConfPretreatmentUtil - Available jdbcUrl [jdbc:postgresql://172.18.1.126:5433/test_demo].
2024-04-01 14:27:00.125 [ job-0] INFO OriginalConfPretreatmentUtil - The table [person_base_info] has columns [id,name,id_card,birthday,native_place,nation,health_status,marital_status,occupation_status,political,annual_income,sex,mobile,area_name,area_id,street_name,street_id,hamlet_id,hamlet_name,home_address,resident_address,if_householder,householder_relation,householder_id_card,death_status,death_time,create_by,create_time,update_by,update_time,native_place_code].
dataBaseType = MySql
2024-04-01 14:27:00.135 [ job-0] INFO OriginalConfPretreatmentUtil - Writing data using [INSERT INTO %s ( `id`,`name`,`id_card`,`birthday`,`native_place`,`health_status`,`sex`,`mobile`,`death_status`,`area_name`,`street_name`,`hamlet_name`,`create_time`,`update_time`) VALUES ( ?,?,?,?,?,?,?,?,?,?,?,?,?,? )].
2024-04-01 14:27:00.136 [ job-0] INFO JobContainer - The Reader.Job [postgresqlreader] perform prepare work .
2024-04-01 14:27:00.136 [ job-0] INFO JobContainer - The Writer.Job [mysqlwriter] perform prepare work .
2024-04-01 14:27:00.144 [ job-0] INFO CommonRdbmsWriter$Job - Begin to execute preSqls:[delete from `ruoyi5`.`person_base_info`]. context info:jdbc:mysql://172.18.1.126:3306/ruoyi5?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&yearIsDateType=false&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&tinyInt1isBit=false.
2024-04-01 14:27:00.145 [ job-0] INFO JobContainer - Job set Channel-Number to 1 channel(s).
2024-04-01 14:27:00.146 [ job-0] INFO JobContainer - The Reader.Job [postgresqlreader] is divided into [1] task(s).
2024-04-01 14:27:00.147 [ job-0] INFO JobContainer - The Writer.Job [mysqlwriter] is divided into [1] task(s).
2024-04-01 14:27:00.162 [ job-0] INFO JobContainer - The Scheduler launches [1] taskGroup(s).
2024-04-01 14:27:00.176 [ taskGroup-0] INFO TaskGroupContainer - The taskGroupId=[0] started [1] channels for [1] tasks.
2024-04-01 14:27:00.179 [ taskGroup-0] INFO Channel - The Channel set byte_speed_limit to -1, No bps activated.
2024-04-01 14:27:00.179 [ taskGroup-0] INFO Channel - The Channel set record_speed_limit to -1, No tps activated.
获取transformer的参数 = null
2024-04-01 14:27:00.190 [ reader-0-0] INFO CommonRdbmsReader$Task - Begin reading records by executing SQL query: [SELECT id,NAME,id_card,birthday,native_place,health_status,sex,mobile,death_status,area_name,street_name,hamlet_name,create_time,update_time FROM person_base_info].
2024-04-01 14:27:00.929 [ reader-0-0] INFO CommonRdbmsReader$Task - Finished reading records by executing SQL query: [SELECT id,NAME,id_card,birthday,native_place,health_status,sex,mobile,death_status,area_name,street_name,hamlet_name,create_time,update_time FROM person_base_info].
2024-04-01 14:27:03.176 [ job-0] INFO AbstractScheduler - The scheduler has completed all tasks.
2024-04-01 14:27:03.177 [ job-0] INFO JobContainer - The Writer.Job [mysqlwriter] perform post work.
2024-04-01 14:27:03.177 [ job-0] INFO JobContainer - The Reader.Job [postgresqlreader] perform post work.
2024-04-01 14:27:03.179 [ job-0] INFO StandAloneJobContainerCommunicator - Total 10002 records, 1153748 bytes | Speed 375.57KB/s, 3334 records/s | Error 0 records, 0 bytes | All Task WaitWriterTime 0.532s | All Task WaitReaderTime 0.194s | Percentage 100.00%
2024-04-01 14:27:03.179 [ job-0] INFO JobContainer -
Job start at : 2024-04-01 14:26:59
Job end at : 2024-04-01 14:27:03
Job took secs : 3s
Average bps : 375.57KB/s
Average rps : 3334rec/s
Number of rec : 10002
Failed record : 0
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
已接受到你的信息或文件