{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5515","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5515/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5515/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5515/events","html_url":"https://github.com/spring-projects/spring-boot/issues/5515","id":144067234,"number":5515,"title":"UndertowEmbeddedServletContainerFactory with Java config -- Not picking up my values","user":{"login":"nandhusriram","id":2879342,"avatar_url":"https://avatars.githubusercontent.com/u/2879342?v=3","gravatar_id":"","url":"https://api.github.com/users/nandhusriram","html_url":"https://github.com/nandhusriram","followers_url":"https://api.github.com/users/nandhusriram/followers","following_url":"https://api.github.com/users/nandhusriram/following{/other_user}","gists_url":"https://api.github.com/users/nandhusriram/gists{/gist_id}","starred_url":"https://api.github.com/users/nandhusriram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nandhusriram/subscriptions","organizations_url":"https://api.github.com/users/nandhusriram/orgs","repos_url":"https://api.github.com/users/nandhusriram/repos","events_url":"https://api.github.com/users/nandhusriram/events{/privacy}","received_events_url":"https://api.github.com/users/nandhusriram/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/waiting-for-feedback","name":"waiting-for-feedback","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-28T19:54:12Z","updated_at":"2016-03-28T20:16:58Z","closed_at":null,"body":"I have my spring boot application running  within undertow container and configuration  are done via `UndertowEmbeddedServletContainerFactory` . For example I have access log enabled but its not picking it up , same works if its configured via application.properties.\r\n\r\n```java\r\n  @Bean\r\n  public EmbeddedServletContainerFactory embeddedServletContainerFactory() {\r\n    UndertowEmbeddedServletContainerFactory factory=new UndertowEmbeddedServletContainerFactory();\r\n    factory.setAccessLogDirectory(new File(System.getProperty(\"user.dir\")));\r\n    factory.setAccessLogEnabled(true);\r\n    factory.setAccessLogPattern(\"%I %q %m %h %a %l %u %t \\\"%r\\\" %s %b (%D ms) %U \\\"%{i,Referer}\\\" \\\"%{i,Host}\\\" \\\"%{i,User-Agent}\\\" \\\"%{o,Content-Type}\\\" \\\"%{o,Content-Length}\\\"\");\r\n    factory.setBufferSize(16000);\r\n    factory.setBuffersPerRegion(20);\r\n    factory.setDirectBuffers(true);\r\n    factory.setIoThreads(10);\r\n    factory.setWorkerThreads(100);\r\n    factory.addBuilderCustomizers(\r\n        builder -> builder.setServerOption(UndertowOptions.ENABLE_HTTP2, true),\r\n        builder -> builder.setServerOption(UndertowOptions.ENABLE_STATISTICS, true),\r\n        builder -> builder.setServerOption(UndertowOptions.RECORD_REQUEST_START_TIME, true));\r\n         \r\n    return factory;\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/202564634","html_url":"https://github.com/spring-projects/spring-boot/issues/5515#issuecomment-202564634","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/5515","id":202564634,"user":{"login":"nandhusriram","id":2879342,"avatar_url":"https://avatars.githubusercontent.com/u/2879342?v=3","gravatar_id":"","url":"https://api.github.com/users/nandhusriram","html_url":"https://github.com/nandhusriram","followers_url":"https://api.github.com/users/nandhusriram/followers","following_url":"https://api.github.com/users/nandhusriram/following{/other_user}","gists_url":"https://api.github.com/users/nandhusriram/gists{/gist_id}","starred_url":"https://api.github.com/users/nandhusriram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nandhusriram/subscriptions","organizations_url":"https://api.github.com/users/nandhusriram/orgs","repos_url":"https://api.github.com/users/nandhusriram/repos","events_url":"https://api.github.com/users/nandhusriram/events{/privacy}","received_events_url":"https://api.github.com/users/nandhusriram/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T20:16:58Z","updated_at":"2016-03-28T20:16:58Z","body":"Thanks https://github.com/januslabs/ansible-http.git"}}