Closed garmu closed 9 years ago
??? We do use a logging framework and logging is used consistently for all server side errors. What more could be needed? On Mar 31, 2015 5:02 PM, "J Lys" notifications@github.com wrote:
Apparently just having logging isn't good enough, we need a framework.
— Reply to this email directly or view it on GitHub https://github.com/MikeHoffert/EatSafe/issues/172.
Ok i just need a short paragraph then of where it is, and what it is doing
Description of logging and its usages:
Try
, which will contain the "normal" return value if we found one or the exception that was thrown if a failure occurred.Logger
API. This provides an easy to use, minimalistic logger that helps keep our code clean.conf/application.conf
file, which allows us to tweak the verbosity of the logging as well as enable logging inside the framework. This unified source of logging is one major reason to use the Play Framework's logging API, as we can keep our logs combined with other Play Framework components.logs
folder. This won't show up in the repo because it's set to be ignored. You'll have to run the app to see the logs. Or check the server's logs.nohup
. See nohup.out
and errors.log
in the root directory on the server. These are not used in development, as such text is printed to the console.Reopening for Jordan to see. Jordan, close this issue once you've seen this.
Apparently just having logging isn't good enough, we need a framework.