JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 
June 04, 2023, 09:56:27 AM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  
Pages: [1]   Go Down

Author Topic: JPPF Client - maven runtime dependency on log4j  (Read 1461 times)

zorba128

  • JPPF Padawan
  • *
  • Posts: 1
JPPF Client - maven runtime dependency on log4j
« on: January 05, 2017, 02:26:56 PM »

I think there is some misconfiguration on jppf-client pom file (or actually jppf-common, on which client depends).
When importing jppf client - transitive dependencies bring into runtime scope slf4j-log4j bridge and log4j itself - and I think this should be avoided with libraries.

Decision which logging library to use should be left to parent application that uses jppf-client.
JPPF Driver/node/monitor can use log4j if they like it, but my application also uses slf4j, but we are not using log4j - and in order to avoid
conflicts we always have to exclude those dependencies manually.

marcin
Logged
Pages: [1]   Go Up
 
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads