Fix old library

This commit is contained in:
Andros Fenollosa 2021-07-06 23:36:21 +02:00
parent 2b939e8261
commit 98de956ca3
3 changed files with 19 additions and 0 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ target/
/.lein-repl-history /.lein-repl-history
/.nrepl-port /.nrepl-port
config.yaml config.yaml
log/logger1.log
log/logger1.log.1

View File

@ -15,6 +15,11 @@
[clj-time "0.15.2"] [clj-time "0.15.2"]
;; Parse RSS/Atom feeds ;; Parse RSS/Atom feeds
[remus "0.2.1"] [remus "0.2.1"]
[org.slf4j/slf4j-log4j12 "1.7.25"]
[log4j/log4j "1.2.12" :exclusions [javax.mail/mail
javax.jms/jms
com.sun.jmdk/jmxtools
com.sun.jmx/jmxri]]
;; Make RSS/Atom feeds ;; Make RSS/Atom feeds
[clj-rss "0.2.7"]] [clj-rss "0.2.7"]]
:plugins [;; DEV TOOLS :plugins [;; DEV TOOLS

12
src/log4j.properties Normal file
View File

@ -0,0 +1,12 @@
log4j.rootLogger=DEBUG, R
#Output to the file, and a new file is generated when the file size reaches the specified size
log4j.appender.R=org.apache.log4j.RollingFileAppender
#Output to the console
#log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.R.File=./log/logger1.log
log4j.appender.R.MaxBackupIndex=20
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=[%d][%p][%c] %m%n