With $phpbb_log->set_log_table() it's possible to change logging in another table.
That's working perfectly.
But $phpbb_log->get_logs will only look in the log table defined in constants.php.
So change LOG_TABLE around line 442 and 468 in $this->log_table in file phpbb/log.php
Changing Log table
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: Changing Log table
Please report bugs to the bug tracker.
http://tracker.phpbb.com/secure/Dashboard.jspa (Use "Create Issue")
If you'd like to, feel free to also make the change and submit a pull request to our github repository
https://github.com/phpbb/phpbb
http://tracker.phpbb.com/secure/Dashboard.jspa (Use "Create Issue")
If you'd like to, feel free to also make the change and submit a pull request to our github repository
https://github.com/phpbb/phpbb
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: Changing Log table
Thanks
- bantu
- 3.0 Release Manager
- Posts: 557
- Joined: Thu Sep 07, 2006 11:22 am
- Location: Karlsruhe, Germany
- Contact:
Re: Changing Log table
I have fixed the ticket. Also, I am moving this, because not an RFC.