regardscitoyens / the-law-factory

Track the french law-making process
https://www.lafabriquedelaloi.fr
GNU Affero General Public License v3.0
75 stars 15 forks source link

Add DEBUG mode to config to silent api logs in prod #140

Closed RouxRC closed 8 years ago

fmassot commented 8 years ago

actually, I put an example here to use in production : https://github.com/regardscitoyens/the-law-factory/blob/refactor-v2/public/js/config.js.example

the $logProvider.debugEnabled(false); will do the job

RouxRC commented 8 years ago

ah i thought so but I missed it, setting it up in prod now. sorry about that :)