Logging Enhancements

Mango Blog had logs to output information about failing plugins. These logs were publicly available, and some users pointed out that it may help hackers find out information about the blog install. They were mostly an aid to plugin developers (the logs only included information when plugins failed). To be honest, the logs where kind of put together rather quickly, so I decided to revamp the way they work.

The logging mechanism is now much more flexible, allowing you to add your own loggers and allowing plugins to add custom loggers and logs. I've written some documentation on how to use it, so if you are interested, you can read more there. In addition, all logs are also stored in the database and no publicly accessible file is written unless you set up a new logger for that. I haven't added the log management to the administration, but that will come soon. In the meantime, you can use Adam Tuttle's LogViewer plugin, which has been updated to work with the new logs.