{"action":"closed","issue":{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/397","labels_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/397/comments","events_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/issues/397/events","html_url":"https://github.com/ebean-orm/avaje-ebeanorm/issues/397","id":102483164,"number":397,"title":"Internal logger name change - Rename DefaultContainer logger to be com.avaje.ebean.internal.DefaultContainer ... so that the offline debugging messages come out without a extra logback name logger entry","user":{"login":"rbygrave","id":208973,"avatar_url":"https://avatars.githubusercontent.com/u/208973?v=3","gravatar_id":"","url":"https://api.github.com/users/rbygrave","html_url":"https://github.com/rbygrave","followers_url":"https://api.github.com/users/rbygrave/followers","following_url":"https://api.github.com/users/rbygrave/following{/other_user}","gists_url":"https://api.github.com/users/rbygrave/gists{/gist_id}","starred_url":"https://api.github.com/users/rbygrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbygrave/subscriptions","organizations_url":"https://api.github.com/users/rbygrave/orgs","repos_url":"https://api.github.com/users/rbygrave/repos","events_url":"https://api.github.com/users/rbygrave/events{/privacy}","received_events_url":"https://api.github.com/users/rbygrave/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/labels/refactor","name":"refactor","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"rbygrave","id":208973,"avatar_url":"https://avatars.githubusercontent.com/u/208973?v=3","gravatar_id":"","url":"https://api.github.com/users/rbygrave","html_url":"https://github.com/rbygrave","followers_url":"https://api.github.com/users/rbygrave/followers","following_url":"https://api.github.com/users/rbygrave/following{/other_user}","gists_url":"https://api.github.com/users/rbygrave/gists{/gist_id}","starred_url":"https://api.github.com/users/rbygrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbygrave/subscriptions","organizations_url":"https://api.github.com/users/rbygrave/orgs","repos_url":"https://api.github.com/users/rbygrave/repos","events_url":"https://api.github.com/users/rbygrave/events{/privacy}","received_events_url":"https://api.github.com/users/rbygrave/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/milestones/48","html_url":"https://github.com/ebean-orm/avaje-ebeanorm/milestones/6.3.2","labels_url":"https://api.github.com/repos/ebean-orm/avaje-ebeanorm/milestones/48/labels","id":1259078,"number":48,"title":"6.3.2","description":null,"creator":{"login":"rbygrave","id":208973,"avatar_url":"https://avatars.githubusercontent.com/u/208973?v=3","gravatar_id":"","url":"https://api.github.com/users/rbygrave","html_url":"https://github.com/rbygrave","followers_url":"https://api.github.com/users/rbygrave/followers","following_url":"https://api.github.com/users/rbygrave/following{/other_user}","gists_url":"https://api.github.com/users/rbygrave/gists{/gist_id}","starred_url":"https://api.github.com/users/rbygrave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbygrave/subscriptions","organizations_url":"https://api.github.com/users/rbygrave/orgs","repos_url":"https://api.github.com/users/rbygrave/repos","events_url":"https://api.github.com/users/rbygrave/events{/privacy}","received_events_url":"https://api.github.com/users/rbygrave/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":17,"state":"open","created_at":"2015-08-17T20:23:27Z","updated_at":"2015-08-22T00:03:00Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-22T00:01:56Z","updated_at":"2015-08-22T00:03:00Z","closed_at":"2015-08-22T00:03:00Z","body":"So for com.avaje.ebeaninternal.server.core.DefaultContainer change its logger name to be in the com.avaje.ebean.xxx namespace rather than com.avaje.ebeaninternal.xxx namespace.\r\n\r\n```java\r\n\r\npublic class DefaultContainer implements SpiContainer {\r\n\r\n  private static final Logger logger = LoggerFactory.getLogger(\"com.avaje.ebean.internal.DefaultContainer\");\r\n\r\n```\r\n\r\nAs we really want the DbOffline debug logging to come out easily (without extra loggers put into logback etc).\r\n\r\n```java\r\n  private DataSource getDataSourceFromConfig(ServerConfig config) {\r\n\r\n    if (DbOffline.isSet()) {\r\n      logger.debug(\"... DbOffline using platform [{}]\", DbOffline.getPlatform());\r\n      return null;\r\n    }\r\n``` \r\n\r\n\r\n"}}