Log message #4218580

# At Username Text
# Dec 13th 2019, 14:38 ricksaccous i wonder if a weird loophole can be used to get around GDPR
# Dec 13th 2019, 14:22 neon1024 Which you could pass to TableRegistry to retrieve the instance
# Dec 13th 2019, 14:22 neon1024 It’s actually the table alias https://github.com/cakephp/cakephp/blob/master/src/Datasource/EntityTrait.php#L1414
# Dec 13th 2019, 13:22 storkovo ```--hard HEAD~3 -q```
# Dec 13th 2019, 13:19 admad :face_with_finger_covering_closed_lips:
# Dec 13th 2019, 13:19 storkovo I dont know any more if it is even legal to mention these (or any) two companies in one sentence :P
# Dec 13th 2019, 13:16 admad yeah leave the harvesting of sensitive personal data to the tech giants like FB and Google :P
# Dec 13th 2019, 13:12 storkovo still, I’d rather think of solution how to have usable log records completely free of sensitive data
# Dec 13th 2019, 13:09 storkovo So the point actually is to make gdpr ghosting from logs easier, right?
# Dec 13th 2019, 13:08 jh I want to put logs in redis for that purpose
# Dec 13th 2019, 13:08 storkovo (in case, you log sensitive data for some reason I dont know)
# Dec 13th 2019, 13:07 storkovo and from logs
# Dec 13th 2019, 13:07 jh Deletion from backups is
# Dec 13th 2019, 13:07 jh @storkovo deletion from redis aint a problem
# Dec 13th 2019, 13:05 storkovo ah, assumptions attack again, sorry to hear that
# Dec 13th 2019, 13:03 lubos @storkovo well i should read the docs first > By default, PHP errors are displayed when debug is true, and logged when debug is false. from this sentence i understand there will be no log file when debug is set to true, i assumed opposite :)
# Dec 13th 2019, 12:58 storkovo @lubos sounds like bug in that “doing nothing” code, missing “return” statement or something
# Dec 13th 2019, 12:47 val That returns the entity alias. What I need is the reference to the table class or the name of the table class.
# Dec 13th 2019, 12:41 Nitrogen afaict bake generates a fixture-entry for every model association.
# Dec 13th 2019, 12:41 Nitrogen Hi, guys. What would be the preferred way to implement fixtures for models that all use the same database table? Do I create a fixture file for each of them? Or can we use aliases somewhere?
# Dec 13th 2019, 12:25 lubos Hey all, any idea why I can't see file log for the error I see in the browser? browser says RuntimeException, but can't see it in the file log. Configuration is same as per app skeleton, only change is ExceptionRenderer (but in case I have debug on, which is the case, i do nothing there only passing render to parent)
# Dec 13th 2019, 11:50 storkovo @jh do not forget that any person can ask you to remove their data at any time - and you are obligated to remove them everywhere, even from logs (and this one is really tricky task)
# Dec 13th 2019, 11:47 storkovo @jh history of who/when/what (accessed/displayed sensitive user data). Coming from huge ecommerce company and chair Release Manager (the owner of whole development cycle), I can tell you that it is much easier to anonymize data than protect them and keep history of access.
# Dec 13th 2019, 11:37 jh What do ypu mean by auditing access
# Dec 13th 2019, 11:36 jh Not an option but access is limited to specific people
# Dec 13th 2019, 11:35 storkovo @jh If you do need to distinguish users from the redis logs for some reason, it is easier to anonymize their identifiers for these logs, this way you dont have to worry about security (and audit of access) of them.
# Dec 13th 2019, 11:31 storkovo @jh better NOT log anything sensitive, despite of log target - if you do (log anything what is regulated by GDPR), you will face far more complex problem - how to audit access to these logs (it is not just about granting/revoking access to these data), especially if your app (and therefore app users) will have an access
# Dec 13th 2019, 11:24 jh thats much better than file logs - isnt it?
# Dec 13th 2019, 11:24 jh you can search through the logs and delete individual items too
# Dec 13th 2019, 11:24 jh Redis has expires feature
# Dec 13th 2019, 11:24 jh I am not setting the policies but I can advice on doing it better
# Dec 13th 2019, 11:23 jh @storkovo whats missing, how do you solve the issue?
# Dec 13th 2019, 11:23 jh no rotation, just expiration/deletion
# Dec 13th 2019, 11:15 storkovo log rotation/expiration is not enough to have GDPR compliant logs
# Dec 13th 2019, 11:11 jh and then expire automatically (GDPR)
# Dec 13th 2019, 11:10 jh also now I need to setup redis logging... basically i want log files to be readable by the application itself
# Dec 13th 2019, 11:10 jh can I add some docs to readme simply pointing at https://redis.io/commands
# Dec 13th 2019, 11:10 jh @lorenzo just wanted to say thanks for https://github.com/lorenzo/cakephp-redis ... i was a bit confused at first because I had to manually add a repo to composer.json and then there was nothing much but transactional mapping to multi... but it seems it just supports whatever redis does magically, such as calling ->append()
# Dec 13th 2019, 10:26 javier.villanueva ahm sorry... already response by neon
# Dec 13th 2019, 10:26 javier.villanueva @bancer $entity->source() ?
# Dec 13th 2019, 10:26 jh @k4t I;d look at what cakephp/app version was up to date back then