This is an old revision of the document!
Table of Contents
API for log events (pun_admin_log)
- Status: under development
- Current version: 1.0b
General idea
Adds event logging and a GUI for browsing logs.
Specification
Functionality
Logs lots of PunBB events.
List of actions
- Install and uninstall extensions
- Enable and disable extensions
- Change keys of Administration Settings
- Delete topics, posts, forums, categories
- Stick, unstick topics
- Open, close topics
- Moving topics
- Merging topics
- Splitting posts
- Change topics subject and message
Interface
- File “forum.log”
- “Features page”
- Enable logging to file
- Enable logging to database
- Path to log-file
- “Events” page on management tab in administration menu
Database
Extension use table of the extension pun_admin_events. Additional config values in the “config” table.
conf_name | conf_value (default) |
---|---|
o_pun_admin_path_log_file | FORUM_ROOT/extensions/pun_admin_log/forum.log |
o_pun_admin_log_write_db | 1 |
o_pun_admin_log_write_file | 1 |