Log message #4100045

# At Username Text
# Nov 30th 2017, 17:56 saeideng or even i18n
# Nov 30th 2017, 17:55 saeideng chronos
# Nov 30th 2017, 17:55 saeideng is there a method to parse date?
# Nov 30th 2017, 17:55 saeideng hi
# Nov 30th 2017, 17:52 dereuromark but that cotnains only Configure::write('Log.debug.file', 'cli-debug'); etc for me, and some plugin loads
# Nov 30th 2017, 17:52 inoas and there is bootstrap_cli now I think
# Nov 30th 2017, 17:51 inoas and you are right about internal link integrity checks obviously
# Nov 30th 2017, 17:51 inoas I just want the 404 noise gone
# Nov 30th 2017, 17:50 inoas yeah but for cli it aint too important for me
# Nov 30th 2017, 17:50 dereuromark but there nothing changes, so not too relevant
# Nov 30th 2017, 17:50 dereuromark also for CLI :slightly_smiling_face:
# Nov 30th 2017, 17:49 inoas thank you for pointing out again
# Nov 30th 2017, 17:49 inoas there I did add it ;-)
# Nov 30th 2017, 17:49 inoas exactly
# Nov 30th 2017, 17:49 dereuromark you need it for low level errors happening before middleware is invoked afaik
# Nov 30th 2017, 17:49 dereuromark are you sure the custom error handler is not in bootstrap of skeleton app?
# Nov 30th 2017, 17:48 dereuromark bootstrap + middleware for newer apps afaik: https://github.com/dereuromark/cakephp-tools/blob/master/docs/Error/ErrorHandler.md
# Nov 30th 2017, 17:48 inoas *confused*
# Nov 30th 2017, 17:48 inoas the custom error handler wasn't necessary before...
# Nov 30th 2017, 17:45 inoas so I do need to do more than app.php configuration?
# Nov 30th 2017, 17:43 dereuromark error handling / middleware
# Nov 30th 2017, 17:43 inoas where in the tools plugin to look about?
# Nov 30th 2017, 17:42 inoas it worked for an older app but now doesnt work anymore
# Nov 30th 2017, 17:42 inoas https://gist.github.com/inoas/8e4f9646cbc836bcca15a4790aac801e/edit
# Nov 30th 2017, 17:42 inoas I am already doing that
# Nov 30th 2017, 17:41 inoas also possibly for MissingActionException
# Nov 30th 2017, 17:37 dereuromark it is also outlined in the sandbox best practices: http://sandbox.dereuromark.de/pages/best-practices#logging
# Nov 30th 2017, 17:36 dereuromark of course, see tools plugin
# Nov 30th 2017, 17:33 inoas I want to route all Cake\Network\Exception\NotFoundException somewhere
# Nov 30th 2017, 17:29 inoas dereuromark didn't you have some solution on how to log 404 to separate files?
# Nov 30th 2017, 16:02 hmic IMHO
# Nov 30th 2017, 16:02 hmic you only need to provide one - the one that *not* matches the current scope
# Nov 30th 2017, 16:02 casmo err, field names
# Nov 30th 2017, 16:02 casmo You will get an mysql error if you have a join with the same table names
# Nov 30th 2017, 16:01 hmic actually i think the orm does exactly that on its own, if you only provide a field name, no . to designate an alias - it adds the currently scoped alias
# Nov 30th 2017, 15:59 hmic especially in a behavior that can be attached on different tables, you should absolutely use the correct alias and not a fixeed name
# Nov 30th 2017, 15:59 casmo But I understand what you mean
# Nov 30th 2017, 15:58 casmo Yeah, I'm thinking when I use it, the Owner I have on my Group as a behavior. But the custom queries are in that behvior as well and using just 'Owners.field_x'
# Nov 30th 2017, 15:58 hmic and once you did, you better stay save and use the format everywhere ;-)
# Nov 30th 2017, 15:58 hmic i use that pretty often
# Nov 30th 2017, 15:58 hmic so you alias the user association differently, does not neet to be multiple associations, just by another name