{"action":"created","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/664","repository_url":"https://api.github.com/repos/payara/Payara","labels_url":"https://api.github.com/repos/payara/Payara/issues/664/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/664/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/664/events","html_url":"https://github.com/payara/Payara/issues/664","id":133983287,"number":664,"title":"Payara Server 4.1.1.161 log configuration issue","user":{"login":"simonemazzoni","id":3217537,"avatar_url":"https://avatars.githubusercontent.com/u/3217537?v=3","gravatar_id":"","url":"https://api.github.com/users/simonemazzoni","html_url":"https://github.com/simonemazzoni","followers_url":"https://api.github.com/users/simonemazzoni/followers","following_url":"https://api.github.com/users/simonemazzoni/following{/other_user}","gists_url":"https://api.github.com/users/simonemazzoni/gists{/gist_id}","starred_url":"https://api.github.com/users/simonemazzoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonemazzoni/subscriptions","organizations_url":"https://api.github.com/users/simonemazzoni/orgs","repos_url":"https://api.github.com/users/simonemazzoni/repos","events_url":"https://api.github.com/users/simonemazzoni/events{/privacy}","received_events_url":"https://api.github.com/users/simonemazzoni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-16T13:34:32Z","updated_at":"2016-02-25T11:53:48Z","closed_at":"2016-02-25T11:53:48Z","body":"I upgraded my AS from Payara Server 4.1.1.153 to Payara Server 4.1.1.161.\r\nEverything seems to work fine except for a strange behavior regarding logging level.\r\n\r\nIn my project I use a library to manage url-rewriting called \"Rewrite/Pretty Faces\" (http://www.ocpsoft.org/rewrite/)\r\n\r\nThis library uses `org.apache.commons.logging.Log;` to log messages with various level of logging (INFO,DEBUG,ERROR mostly). In Payara Server 4.1.1.153 everything works fine and when I run my project in Production mode, log messages printed with DEBUG level are not printed to the console or server.log, whereas if I run the same project with the same configurations on Payara Server 4.1.1.161 all the DEBUG messages are printed to console and server log even if the project is run in Production mode.\r\n\r\nI guess something changed on the logging default configuration with the new version, but I can't understand why. This is not exactly a bug since everything works correctly, but it is a bit annoying when I have to read the logs or the console to check for errors.\r\n\r\n[https://github.com/ocpsoft/rewrite/blob/master/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces2/application/PrettyNavigationHandler.java#L60](url) here you can find the source code of the class that produces the log messages (at line 60).\r\n\r\nThe issue can be reproduced compiling and running this maven project on Payara Server 4.1.1.161 [https://github.com/ocpsoft/rewrite/tree/master/showcase/bookstore](url)\r\n\r\nBy checking the console log or server log you can see a lot of unnecessary row printed. If you execute the same project on Payara Server 4.1.1.153 this do not happen.\r\n\r\nThanks for the help.\r\nSimone\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/payara/Payara/issues/comments/188752485","html_url":"https://github.com/payara/Payara/issues/664#issuecomment-188752485","issue_url":"https://api.github.com/repos/payara/Payara/issues/664","id":188752485,"user":{"login":"simonemazzoni","id":3217537,"avatar_url":"https://avatars.githubusercontent.com/u/3217537?v=3","gravatar_id":"","url":"https://api.github.com/users/simonemazzoni","html_url":"https://github.com/simonemazzoni","followers_url":"https://api.github.com/users/simonemazzoni/followers","following_url":"https://api.github.com/users/simonemazzoni/following{/other_user}","gists_url":"https://api.github.com/users/simonemazzoni/gists{/gist_id}","starred_url":"https://api.github.com/users/simonemazzoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonemazzoni/subscriptions","organizations_url":"https://api.github.com/users/simonemazzoni/orgs","repos_url":"https://api.github.com/users/simonemazzoni/repos","events_url":"https://api.github.com/users/simonemazzoni/events{/privacy}","received_events_url":"https://api.github.com/users/simonemazzoni/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T11:53:48Z","updated_at":"2016-02-25T11:53:48Z","body":"Ok thanks, I will wait for the patch."}}