{"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/comments/12425932","html_url":"https://github.com/RocketChat/Rocket.Chat/commit/a25e32fbeb97fef5aacbbfd73aac62b0a85663b6#commitcomment-12425932","id":12425932,"user":{"login":"Sing-Li","id":122633,"avatar_url":"https://avatars.githubusercontent.com/u/122633?v=3","gravatar_id":"","url":"https://api.github.com/users/Sing-Li","html_url":"https://github.com/Sing-Li","followers_url":"https://api.github.com/users/Sing-Li/followers","following_url":"https://api.github.com/users/Sing-Li/following{/other_user}","gists_url":"https://api.github.com/users/Sing-Li/gists{/gist_id}","starred_url":"https://api.github.com/users/Sing-Li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sing-Li/subscriptions","organizations_url":"https://api.github.com/users/Sing-Li/orgs","repos_url":"https://api.github.com/users/Sing-Li/repos","events_url":"https://api.github.com/users/Sing-Li/events{/privacy}","received_events_url":"https://api.github.com/users/Sing-Li/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"a25e32fbeb97fef5aacbbfd73aac62b0a85663b6","created_at":"2015-07-29T17:08:23Z","updated_at":"2015-07-29T17:08:23Z","body":"@rodrigok  - IMHO ...  with the current features list, as a minimum: \r\n\r\n* server-side activities related to file upload - for 'copyrighted material, censored material' concerns and audit-ability\r\n* RESTfull-API calls  - especially after we add more 'system state changing' APIs beyond the current post message API\r\n\r\nEnable/disable/filter on several levels\r\n* level 1 : mandatory --> like the two items above should be always on and cannot be turned off\r\n* level 2:  admin controlled ->  ones that can be turned on and off via admin settings;  log msgs that are of interest to administrators / configurators/ integrators but not necessarily to code devs\r\n* level 3:  code devs only -> what we're familiar with, INFO/WARNING/DEBUG/FATAL and perhaps enabled only via a private console command  or special role setting in DB (no possible way to accidentally trigger using Rocket.Chat itself)\r\n\r\nServer side is tricky because whereas with 1,000 concurrent users - we have 1,000 browsers doing the client-side logging ...  we only have one thread handling all 1,000 log generators on the server-side.  BTW... I've used https://papertrailapp.com/ for aggregation and they have been best in their class for ages (free account is more than enough for our demo deployment; they can work off rsyslog to get logging thread unblocked asap) \r\n\r\nThanks :smiley: \r\n\r\n"}}