Log message #4180484

# At Username Text
# Mar 23rd 2019, 02:58 grossolive4 This issue has been resolved, I created the uploadFile function in UploadBehavior, use ajax to upload each file
# Mar 23rd 2019, 01:15 grossolive4 How to multi upload files by FriendsOfCake/cakephp-upload plugin using ajax https://github.com/FriendsOfCake/cakephp-upload Any suggestions?
# Mar 22nd 2019, 21:00 inoas @lorenzo jose_zap in case you are around and it is a quicky... I suppose I am lost in pg config
# Mar 22nd 2019, 20:56 inoas e.g. somehow the table itself cannot be read
# Mar 22nd 2019, 20:56 inoas when trying to log in I get Cannot describe users. It has 0 columns.
# Mar 22nd 2019, 20:56 inoas I have used pgloader and set the username and database to my_app and the password to secret (aka cakephp app skeleton defaults) https://gist.github.com/inoas/cb7fee79cdde22f265cfa24d478dd97d
# Mar 22nd 2019, 20:55 inoas When migrating from mariadb 10.3 to postgres 11.x I get this error https://github.com/snelg/cakephp-3-oracle/issues/9
# Mar 22nd 2019, 18:47 ricksaccous probably an inner join would work too right?
# Mar 22nd 2019, 18:47 hollistergraham123 scroll down a little and see how to filter
# Mar 22nd 2019, 18:46 hollistergraham123 https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#working-with-result-sets
# Mar 22nd 2019, 18:45 hollistergraham123 or do $query->filter(manager => count(manger.player) > 0)
# Mar 22nd 2019, 18:44 hollistergraham123 Set it to a right join
# Mar 22nd 2019, 18:39 ricksaccous I think dereuromark makes a join and does voodoo with that
# Mar 22nd 2019, 18:39 ricksaccous I only want Managers with at least one player
# Mar 22nd 2019, 18:38 ricksaccous ie Managers hasMany Players
# Mar 22nd 2019, 18:38 ricksaccous whats the best way to filter parents where i remove parents that have no children
# Mar 22nd 2019, 17:54 ricksaccous hehehehe
# Mar 22nd 2019, 17:53 jhall so $this->log should work after this
# Mar 22nd 2019, 17:53 jhall it wasn't in my face so I did not notice this
# Mar 22nd 2019, 17:52 jhall haha
# Mar 22nd 2019, 17:52 jhall I see the problem
# Mar 22nd 2019, 17:52 jhall oh
# Mar 22nd 2019, 17:52 slackebot2 <jhall>
# Mar 22nd 2019, 17:51 ricksaccous which is ultimately based on the docs XD
# Mar 22nd 2019, 17:49 ricksaccous i haven't played with logs too much but just giving suggestions based on what i think should work
# Mar 22nd 2019, 17:49 ricksaccous heh
# Mar 22nd 2019, 17:49 ricksaccous it seems you can use $this->log if you use log trait
# Mar 22nd 2019, 17:48 ricksaccous https://book.cakephp.org/3.0/en/core-libraries/logging.html#writing-to-logs
# Mar 22nd 2019, 17:47 jhall no its not working
# Mar 22nd 2019, 17:47 ricksaccous probably the better solution is to use https://book.cakephp.org/3.0/en/core-libraries/logging.html#Cake\Log\Log::write
# Mar 22nd 2019, 17:46 ricksaccous is that not working?
# Mar 22nd 2019, 17:45 jhall Do I need to do anything special @ricksaccous?
# Mar 22nd 2019, 17:34 jhall okay I can try that
# Mar 22nd 2019, 17:23 ricksaccous then you can instantiate that class and use it i assume
# Mar 22nd 2019, 17:22 ricksaccous you probably need to use Cake\Log\Engine\FileLog assuming that's the one you've configured
# Mar 22nd 2019, 17:22 ricksaccous @jhall look at Cake\Log\Engine\FileLog
# Mar 22nd 2019, 17:01 jhall setup a listener?
# Mar 22nd 2019, 17:01 jhall is it possible I need to reference a namespace or something?
# Mar 22nd 2019, 17:00 jhall well tried that and it did nothing
# Mar 22nd 2019, 17:00 dereuromark $this->log()?
# Mar 22nd 2019, 16:56 jhall If I want to write out some variable values of a command shell to the debug error log how do I go about doing that? Or how do I do this in general?