daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Mar 20th, 2017 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. log4j.appender.db = org.apache.log4j.jdbc.JDBCAppender
  2. log4j.appender.db.URL = jdbc:postgresql://localhost:5432/log_db
  3. log4j.appender.db.driver=org.postgresql.Driver
  4. log4j.appender.db.user=root
  5. log4j.appender.db.password=1234
  6. log4j.appender.db.sql = INSERT INTO s_logs(container, date, level, package_class, id_name_ver_bundle, message) VALUES ('${karaf.name}','%d{ISO8601}','%p','%c','%X{bundle.id} - %X{bundle.name} - %X{bundle.version}','%m')
  7. log4j.appender.db.Threshold=INFO
  8. log4j.appender.db.layout=org.apache.log4j.PatternLayout
  9.    
  10. <log4j.version>1.2.17</log4j.version>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top