Open vincentcourtois opened 5 years ago
test that errors are corretly logs in particular :
Maybe for the common errors we should be able to display a more descriptive response body. Even if we do so, we should not display the error to everybody, and not give too much informations in the data field.
Current logs are only the API responses. Logs should be written in decicated files (
debug.log
,infos.log
,errors.log
) in a dedicated directory (might be a linked one), then served via a commonGET /logs
route defined in theArkaan::Utils::Controllers::Checked
class