Save logs to database

Hi, is there a way to save logs to database ?
i found this: Save logs in database
but it was not helpful for ownCloud version 9.0.1
The final goal is saving logs to database for searching over logs.