Question
version canal adapter 1.1.6
linux centos
配置正常
2022-06-28 15:22:45.601 [main] ERROR c.a.o.canal.adapter.launcher.loader.CanalAdapterLoader - Load canal adapter: logger failed
java.lang.IllegalArgumentException: Could not resolve placeholder 'USER_IP' in value "{ date "+[ %Y%m%d %H:%M:%S `whoami` ] `history 1 | { read x cmd; echo "$cmd"; }`"; } >> /tmp/history/${LOGNAME}/${USER}@${USER_IP}_history.$DT"
1条答案
按热度按时间mklgxw1f1#
应该就是spring读取环境变量的问题: https://blog.csdn.net/weixin_45950398/article/details/124173634