Open hmenzagh opened 4 years ago
@hmenzagh sorry for the delay. Yes I believe this is just a matter of better configuring of the logging code, which is in need of some pretty major refactoring in general. Most likely you are referring to the list
results, which can be quite verbose:
https://github.com/JKHeadley/rest-hapi/blob/master/utilities/handler-helper.js#L221
I'll see about at least changing this to Log.info
to help keep it manageable, or please feel free to do it yourself and open a PR :)
Thanks ! I'll look into it if you didn't do the changes next time I manage my rest-hapi code
Pull request : #251
To keep it simple:
I'm trying to log what routes are called but not the result, and changing between :
does not seem to do much. Am I missing something ? If I change the
loglevel
toWARNING
nothing shows up (maybe errors etc) but not the routes being generated for instance.Is that the expected behavior ?
(running the latest version of everything)