{"action":"created","issue":{"url":"https://api.github.com/repos/nbs-system/snuffleupagus/issues/234","repository_url":"https://api.github.com/repos/nbs-system/snuffleupagus","labels_url":"https://api.github.com/repos/nbs-system/snuffleupagus/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/nbs-system/snuffleupagus/issues/234/comments","events_url":"https://api.github.com/repos/nbs-system/snuffleupagus/issues/234/events","html_url":"https://github.com/nbs-system/snuffleupagus/issues/234","id":355926108,"node_id":"MDU6SXNzdWUzNTU5MjYxMDg=","number":234,"title":"Suggestions to improve the usability/usage of the logging system","user":{"login":"crKontrol","id":41000923,"node_id":"MDQ6VXNlcjQxMDAwOTIz","avatar_url":"https://avatars3.githubusercontent.com/u/41000923?v=4","gravatar_id":"","url":"https://api.github.com/users/crKontrol","html_url":"https://github.com/crKontrol","followers_url":"https://api.github.com/users/crKontrol/followers","following_url":"https://api.github.com/users/crKontrol/following{/other_user}","gists_url":"https://api.github.com/users/crKontrol/gists{/gist_id}","starred_url":"https://api.github.com/users/crKontrol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crKontrol/subscriptions","organizations_url":"https://api.github.com/users/crKontrol/orgs","repos_url":"https://api.github.com/users/crKontrol/repos","events_url":"https://api.github.com/users/crKontrol/events{/privacy}","received_events_url":"https://api.github.com/users/crKontrol/received_events","type":"User","site_admin":false},"labels":[{"id":702046038,"node_id":"MDU6TGFiZWw3MDIwNDYwMzg=","url":"https://api.github.com/repos/nbs-system/snuffleupagus/labels/configuration","name":"configuration","color":"c2e0c6","default":false},{"id":702121466,"node_id":"MDU6TGFiZWw3MDIxMjE0NjY=","url":"https://api.github.com/repos/nbs-system/snuffleupagus/labels/good%20first%20issue","name":"good first issue","color":"0e8a16","default":true},{"id":697682070,"node_id":"MDU6TGFiZWw2OTc2ODIwNzA=","url":"https://api.github.com/repos/nbs-system/snuffleupagus/labels/question","name":"question","color":"cc317c","default":true},{"id":718922486,"node_id":"MDU6TGFiZWw3MTg5MjI0ODY=","url":"https://api.github.com/repos/nbs-system/snuffleupagus/labels/usability","name":"usability","color":"ed006a","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nbs-system/snuffleupagus/milestones/10","html_url":"https://github.com/nbs-system/snuffleupagus/milestone/10","labels_url":"https://api.github.com/repos/nbs-system/snuffleupagus/milestones/10/labels","id":3612948,"node_id":"MDk6TWlsZXN0b25lMzYxMjk0OA==","number":10,"title":"0.5 - Elephant Flats","description":"","creator":{"login":"jvoisin","id":325724,"node_id":"MDQ6VXNlcjMyNTcyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/325724?v=4","gravatar_id":"","url":"https://api.github.com/users/jvoisin","html_url":"https://github.com/jvoisin","followers_url":"https://api.github.com/users/jvoisin/followers","following_url":"https://api.github.com/users/jvoisin/following{/other_user}","gists_url":"https://api.github.com/users/jvoisin/gists{/gist_id}","starred_url":"https://api.github.com/users/jvoisin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvoisin/subscriptions","organizations_url":"https://api.github.com/users/jvoisin/orgs","repos_url":"https://api.github.com/users/jvoisin/repos","events_url":"https://api.github.com/users/jvoisin/events{/privacy}","received_events_url":"https://api.github.com/users/jvoisin/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":8,"state":"open","created_at":"2018-08-31T11:52:23Z","updated_at":"2018-10-18T17:18:53Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-08-31T10:26:55Z","updated_at":"2018-11-18T13:54:16Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hello, \r\n\r\nRecently I faced an issue regarding the rules for hardening `rand()`. The feature was enabled and yes, it did break a website, but the problem is that nothing was logged. \r\n\r\nIt will be good to have logs :) \r\n\r\nI see a few things that can be done :) :\r\n\r\n- In the `phpfino()` we can have a list showing every feature enabled in the current configuration and we should see if the feature are in simulation mode or not. \r\n\r\n- This will be super cool to have a _boot log_ in php.log. Something like :\r\n```\r\nSnuffleupagus here !\r\nHarden rand feature enable\r\netc...\r\n```\r\nThe log should contains a list of all feature enabled and even more, for the whitelist stuff, the path to the file. And also, the version of Snuffleupagus installed and if is the latest. If not, we could a line telling us that we need to upgrade to the latest version.\r\n\r\n- Level log :D - This one is an open question, because on my OPS point of view this will be marvelous but not for everyone. I think about 3 level log :\r\n1) No log\r\n2) Critical logs and warnings logs\r\n3) Full logs -> yeah, this one must be a critical issue for disk space\r\nFor example, when we enable the harden rand feature and this is triggered, we have no logs and this is bothering me. I would love to know when one of Snuffleupagus feature is triggered this can help a lot for troubleshoot.\r\n\r\n- The logs must be accessible from one and only log. Not something like, one piece in the web server logs, another on the syslog etc.. And again for my OPS point of view, I prefer to have it on the PHP logs or on a log dedicated to Snuffleupagus (like the one for suhosin).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nbs-system/snuffleupagus/issues/comments/439694532","html_url":"https://github.com/nbs-system/snuffleupagus/issues/234#issuecomment-439694532","issue_url":"https://api.github.com/repos/nbs-system/snuffleupagus/issues/234","id":439694532,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTY5NDUzMg==","user":{"login":"jvoisin","id":325724,"node_id":"MDQ6VXNlcjMyNTcyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/325724?v=4","gravatar_id":"","url":"https://api.github.com/users/jvoisin","html_url":"https://github.com/jvoisin","followers_url":"https://api.github.com/users/jvoisin/followers","following_url":"https://api.github.com/users/jvoisin/following{/other_user}","gists_url":"https://api.github.com/users/jvoisin/gists{/gist_id}","starred_url":"https://api.github.com/users/jvoisin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvoisin/subscriptions","organizations_url":"https://api.github.com/users/jvoisin/orgs","repos_url":"https://api.github.com/users/jvoisin/repos","events_url":"https://api.github.com/users/jvoisin/events{/privacy}","received_events_url":"https://api.github.com/users/jvoisin/received_events","type":"User","site_admin":false},"created_at":"2018-11-18T13:54:16Z","updated_at":"2018-11-18T13:54:16Z","author_association":"COLLABORATOR","body":"@crKontrol Could you at least detail what you want to appear in the \"boot-log\"? I don't think that dumping the rules is wise, since odds are that some people have __a lot__ of them."}}
{"actor":{"display_login":"jvoisin"}}