{"action":"created","issue":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/951","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/951/labels{/name}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/951/comments","events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/951/events","html_url":"https://github.com/geonetwork/core-geonetwork/pull/951","id":69441014,"number":951,"title":"Administration / Edit log level and get activity","user":{"login":"bmaire","id":6907261,"avatar_url":"https://avatars.githubusercontent.com/u/6907261?v=3","gravatar_id":"","url":"https://api.github.com/users/bmaire","html_url":"https://github.com/bmaire","followers_url":"https://api.github.com/users/bmaire/followers","following_url":"https://api.github.com/users/bmaire/following{/other_user}","gists_url":"https://api.github.com/users/bmaire/gists{/gist_id}","starred_url":"https://api.github.com/users/bmaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmaire/subscriptions","organizations_url":"https://api.github.com/users/bmaire/orgs","repos_url":"https://api.github.com/users/bmaire/repos","events_url":"https://api.github.com/users/bmaire/events{/privacy}","received_events_url":"https://api.github.com/users/bmaire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/15","html_url":"https://github.com/geonetwork/core-geonetwork/milestones/3.0.0","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones/15/labels","id":981401,"number":15,"title":"3.0.0","description":"","creator":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":45,"state":"open","created_at":"2015-02-16T14:52:04Z","updated_at":"2015-04-20T10:43:07Z","due_on":"2015-04-27T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-04-19T16:27:22Z","updated_at":"2015-04-20T11:51:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/951","html_url":"https://github.com/geonetwork/core-geonetwork/pull/951","diff_url":"https://github.com/geonetwork/core-geonetwork/pull/951.diff","patch_url":"https://github.com/geonetwork/core-geonetwork/pull/951.patch"},"body":"Improvements on PR 'admin-config-logger' : \r\n1- The list of log4j files is got back by reading folder \"WEB-INF/classes\". The files have to respect the regex \"log4j(-(.*?))?\\\\.xml\". Thus, a new file in folder can be choose automaticly.\r\n        -> Files' name must be 'log4j-XXXX.xml'. 'XXXX' will be label used in select\r\n        -> 'log4j.xml' is considered as PROD environnement.\r\n![image](https://cloud.githubusercontent.com/assets/6907261/7220234/8fa292a8-e6c0-11e4-9888-d23027be0b00.png)\r\n\r\nRemark: the value of the parameter \"Threshold\" is \"ALL\", in file to see changes.\r\n\r\n2- In 'status' page, log activity can be seen, with limit on 200 last lines and refresh every 2 seconds.\r\n![image](https://cloud.githubusercontent.com/assets/6907261/7220215/b1cf0af6-e6bf-11e4-9016-e2ae725fcff6.png)\r\n-------------------------------------------------------------\r\n![image](https://cloud.githubusercontent.com/assets/6907261/7220239/aaee699c-e6c0-11e4-9680-8dd5cd0f59a0.png)\r\n\r\n3- The log activity can be download in zip.\r\n![image](https://cloud.githubusercontent.com/assets/6907261/7220238/a55c9922-e6c0-11e4-8a8c-68afc54f4959.png)"},"comment":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/comments/94431777","html_url":"https://github.com/geonetwork/core-geonetwork/pull/951#issuecomment-94431777","issue_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/951","id":94431777,"user":{"login":"fxprunayre","id":1701393,"avatar_url":"https://avatars.githubusercontent.com/u/1701393?v=3","gravatar_id":"","url":"https://api.github.com/users/fxprunayre","html_url":"https://github.com/fxprunayre","followers_url":"https://api.github.com/users/fxprunayre/followers","following_url":"https://api.github.com/users/fxprunayre/following{/other_user}","gists_url":"https://api.github.com/users/fxprunayre/gists{/gist_id}","starred_url":"https://api.github.com/users/fxprunayre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxprunayre/subscriptions","organizations_url":"https://api.github.com/users/fxprunayre/orgs","repos_url":"https://api.github.com/users/fxprunayre/repos","events_url":"https://api.github.com/users/fxprunayre/events{/privacy}","received_events_url":"https://api.github.com/users/fxprunayre/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T11:51:03Z","updated_at":"2015-04-20T11:51:03Z","body":"When accessing activity and file export, I get NPE depending on how the application starts :\r\n\r\n```\r\nProblem accessing /geonetwork/srv/eng/log/activity. Reason:\r\n\r\n    Server Error\r\nCaused by:\r\n\r\njava.lang.NullPointerException\r\n\tat java.io.File.<init>(File.java:277)\r\n\tat org.fao.geonet.monitor.service.LogConfig.activity(LogConfig.java:98)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n```\r\n\r\nAlso admin.logfile.list?_content_type=json return empty list when started from Intellij (looking in target/webapp/WEB-INF/classes instead of target/geonetwork) but is fine when starting it with jetty:run. Probably a configuration issue on the IDE.\r\n\r\n\r\nI'll try to figure out what's wrong here while merging."}}