{"action":"opened","number":182,"pull_request":{"url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/pulls/182","id":59298524,"html_url":"https://github.com/ReactiveMongo/Play-ReactiveMongo/pull/182","diff_url":"https://github.com/ReactiveMongo/Play-ReactiveMongo/pull/182.diff","patch_url":"https://github.com/ReactiveMongo/Play-ReactiveMongo/pull/182.patch","issue_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/issues/182","number":182,"state":"open","locked":false,"title":"log4j-to-slf4j dependency is causing an infinite loop","user":{"login":"cchantep","id":166062,"avatar_url":"https://avatars.githubusercontent.com/u/166062?v=3","gravatar_id":"","url":"https://api.github.com/users/cchantep","html_url":"https://github.com/cchantep","followers_url":"https://api.github.com/users/cchantep/followers","following_url":"https://api.github.com/users/cchantep/following{/other_user}","gists_url":"https://api.github.com/users/cchantep/gists{/gist_id}","starred_url":"https://api.github.com/users/cchantep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchantep/subscriptions","organizations_url":"https://api.github.com/users/cchantep/orgs","repos_url":"https://api.github.com/users/cchantep/repos","events_url":"https://api.github.com/users/cchantep/events{/privacy}","received_events_url":"https://api.github.com/users/cchantep/received_events","type":"User","site_admin":false},"body":"Hey guys, thanks for the amazing job ! You're a life saver !\r\n\r\nBy the way, is there a reason why the project needs log4j-to-slf4j ? It's causing an infinite loop in my project. I don't really understand why. But ignoring this library from Play-ReactiveMongo dependency solved my problem.\r\n\r\nhttps://github.com/ReactiveMongo/Play-ReactiveMongo/blob/master/project/Play2-ReactiveMongo.scala#L138\r\n\r\n```\r\nSLF4J: Class path contains multiple SLF4J bindings.\r\nSLF4J: Found binding in [jar:file:/.ivy2/cache/org.apache.logging.log4j/log4j-slf4j-impl/jars/log4j-slf4j-impl-2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]\r\nSLF4J: Found binding in [jar:file:/activator-dist-1.3.5/repository/ch.qos.logback/logback-classic/1.1.3/jars/logback-classic.jar!/org/slf4j/impl/StaticLoggerBinder.class]\r\nSLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.\r\nSLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]\r\n...\r\n[error]   CAUSED BY java.lang.StackOverflowError\r\n[error]   org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)\r\n[error]   org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:284)\r\n[error]   org.apache.logging.slf4j.SLF4JLoggerContext.getLogger(SLF4JLoggerContext.java:41)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:37)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:29)\r\n[error]   org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)\r\n[error]   org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:284)\r\n[error]   org.apache.logging.slf4j.SLF4JLoggerContext.getLogger(SLF4JLoggerContext.java:41)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:37)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:29)\r\n[error]   org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)\r\n[error]   org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:284)\r\n[error]   org.apache.logging.slf4j.SLF4JLoggerContext.getLogger(SLF4JLoggerContext.java:41)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:37)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.newLogger(Log4jLoggerFactory.java:29)\r\n[error]   org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47)\r\n[error]   org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)\r\n[error]   org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:284)\r\n..\r\n```\r\n\r\nTo ignore, in build.sbt I did this.\r\n```\r\n\"org.reactivemongo\" %% \"play2-reactivemongo\" % \"0.11.9\" exclude(\"org.apache.logging.log4j\", \"log4j-to-slf4j\")\r\n```\r\n\r\nI have other dependencies that are using log4j library. Could this create any conflicts ?\r\n```\r\nval log4j = Seq(\"log4j-api\", \"log4j-core\", \"log4j-slf4j-impl\").map(\"org.apache.logging.log4j\" % _ % \"2.3\")\r\nval logging = log4j :+ \"com.typesafe.scala-logging\" %% \"scala-logging\" % \"3.1.0\"\r\n```","created_at":"2016-02-14T16:00:40Z","updated_at":"2016-02-14T16:00:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/pulls/182/commits","review_comments_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/pulls/182/comments","review_comment_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/issues/182/comments","statuses_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/statuses/318dee3bc72ec4a747b8d0c7a92c1c31bc2303bc","head":{"label":"cchantep:fix/182","ref":"fix/182","sha":"318dee3bc72ec4a747b8d0c7a92c1c31bc2303bc","user":{"login":"cchantep","id":166062,"avatar_url":"https://avatars.githubusercontent.com/u/166062?v=3","gravatar_id":"","url":"https://api.github.com/users/cchantep","html_url":"https://github.com/cchantep","followers_url":"https://api.github.com/users/cchantep/followers","following_url":"https://api.github.com/users/cchantep/following{/other_user}","gists_url":"https://api.github.com/users/cchantep/gists{/gist_id}","starred_url":"https://api.github.com/users/cchantep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchantep/subscriptions","organizations_url":"https://api.github.com/users/cchantep/orgs","repos_url":"https://api.github.com/users/cchantep/repos","events_url":"https://api.github.com/users/cchantep/events{/privacy}","received_events_url":"https://api.github.com/users/cchantep/received_events","type":"User","site_admin":false},"repo":{"id":32068120,"name":"Play-ReactiveMongo","full_name":"cchantep/Play-ReactiveMongo","owner":{"login":"cchantep","id":166062,"avatar_url":"https://avatars.githubusercontent.com/u/166062?v=3","gravatar_id":"","url":"https://api.github.com/users/cchantep","html_url":"https://github.com/cchantep","followers_url":"https://api.github.com/users/cchantep/followers","following_url":"https://api.github.com/users/cchantep/following{/other_user}","gists_url":"https://api.github.com/users/cchantep/gists{/gist_id}","starred_url":"https://api.github.com/users/cchantep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchantep/subscriptions","organizations_url":"https://api.github.com/users/cchantep/orgs","repos_url":"https://api.github.com/users/cchantep/repos","events_url":"https://api.github.com/users/cchantep/events{/privacy}","received_events_url":"https://api.github.com/users/cchantep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cchantep/Play-ReactiveMongo","description":"ReactiveMongo plugin for Playframework","fork":true,"url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo","forks_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/forks","keys_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/teams","hooks_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/hooks","issue_events_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/issues/events{/number}","events_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/events","assignees_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/assignees{/user}","branches_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/branches{/branch}","tags_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/tags","blobs_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/git/refs{/sha}","trees_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/statuses/{sha}","languages_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/languages","stargazers_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/stargazers","contributors_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/contributors","subscribers_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/subscribers","subscription_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/subscription","commits_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/commits{/sha}","git_commits_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/git/commits{/sha}","comments_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/comments{/number}","issue_comment_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/issues/comments{/number}","contents_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/contents/{+path}","compare_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/merges","archive_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/downloads","issues_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/issues{/number}","pulls_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/pulls{/number}","milestones_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/milestones{/number}","notifications_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/labels{/name}","releases_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/releases{/id}","deployments_url":"https://api.github.com/repos/cchantep/Play-ReactiveMongo/deployments","created_at":"2015-03-12T09:21:55Z","updated_at":"2015-03-12T09:21:56Z","pushed_at":"2016-02-14T16:00:15Z","git_url":"git://github.com/cchantep/Play-ReactiveMongo.git","ssh_url":"git@github.com:cchantep/Play-ReactiveMongo.git","clone_url":"https://github.com/cchantep/Play-ReactiveMongo.git","svn_url":"https://github.com/cchantep/Play-ReactiveMongo","homepage":null,"size":458,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ReactiveMongo:master","ref":"master","sha":"6124a55ef9f2eb60a81c5678978ecb10bce4363a","user":{"login":"ReactiveMongo","id":5060260,"avatar_url":"https://avatars.githubusercontent.com/u/5060260?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactiveMongo","html_url":"https://github.com/ReactiveMongo","followers_url":"https://api.github.com/users/ReactiveMongo/followers","following_url":"https://api.github.com/users/ReactiveMongo/following{/other_user}","gists_url":"https://api.github.com/users/ReactiveMongo/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactiveMongo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactiveMongo/subscriptions","organizations_url":"https://api.github.com/users/ReactiveMongo/orgs","repos_url":"https://api.github.com/users/ReactiveMongo/repos","events_url":"https://api.github.com/users/ReactiveMongo/events{/privacy}","received_events_url":"https://api.github.com/users/ReactiveMongo/received_events","type":"Organization","site_admin":false},"repo":{"id":5613055,"name":"Play-ReactiveMongo","full_name":"ReactiveMongo/Play-ReactiveMongo","owner":{"login":"ReactiveMongo","id":5060260,"avatar_url":"https://avatars.githubusercontent.com/u/5060260?v=3","gravatar_id":"","url":"https://api.github.com/users/ReactiveMongo","html_url":"https://github.com/ReactiveMongo","followers_url":"https://api.github.com/users/ReactiveMongo/followers","following_url":"https://api.github.com/users/ReactiveMongo/following{/other_user}","gists_url":"https://api.github.com/users/ReactiveMongo/gists{/gist_id}","starred_url":"https://api.github.com/users/ReactiveMongo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReactiveMongo/subscriptions","organizations_url":"https://api.github.com/users/ReactiveMongo/orgs","repos_url":"https://api.github.com/users/ReactiveMongo/repos","events_url":"https://api.github.com/users/ReactiveMongo/events{/privacy}","received_events_url":"https://api.github.com/users/ReactiveMongo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ReactiveMongo/Play-ReactiveMongo","description":"ReactiveMongo plugin for Playframework","fork":false,"url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo","forks_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/forks","keys_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/teams","hooks_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/hooks","issue_events_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/issues/events{/number}","events_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/events","assignees_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/assignees{/user}","branches_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/branches{/branch}","tags_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/tags","blobs_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/statuses/{sha}","languages_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/languages","stargazers_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/stargazers","contributors_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/contributors","subscribers_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/subscribers","subscription_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/subscription","commits_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/contents/{+path}","compare_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/merges","archive_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/downloads","issues_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/issues{/number}","pulls_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/pulls{/number}","milestones_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/milestones{/number}","notifications_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/labels{/name}","releases_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/releases{/id}","deployments_url":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/deployments","created_at":"2012-08-30T09:39:11Z","updated_at":"2016-02-01T06:24:01Z","pushed_at":"2016-02-04T12:00:25Z","git_url":"git://github.com/ReactiveMongo/Play-ReactiveMongo.git","ssh_url":"git@github.com:ReactiveMongo/Play-ReactiveMongo.git","clone_url":"https://github.com/ReactiveMongo/Play-ReactiveMongo.git","svn_url":"https://github.com/ReactiveMongo/Play-ReactiveMongo","homepage":null,"size":764,"stargazers_count":356,"watchers_count":356,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":125,"mirror_url":null,"open_issues_count":8,"forks":125,"open_issues":8,"watchers":356,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/pulls/182"},"html":{"href":"https://github.com/ReactiveMongo/Play-ReactiveMongo/pull/182"},"issue":{"href":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/issues/182"},"comments":{"href":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/issues/182/comments"},"review_comments":{"href":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/pulls/182/comments"},"review_comment":{"href":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/pulls/182/commits"},"statuses":{"href":"https://api.github.com/repos/ReactiveMongo/Play-ReactiveMongo/statuses/318dee3bc72ec4a747b8d0c7a92c1c31bc2303bc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":9,"changed_files":1}}