Moodle plugins directory: Syslogger | Moodle.org
Syslogger
General plugins (Local) ::: local_syslogger
Maintained by Bart Busschots
Duplicates Moodle logs to syslog using the Linux logger command.
Latest release:
4 sites
Current versions available: 1
This local plugin uses cron to duplicate log entries in the Moodle log database table to syslog with the Linux logger command.
This plugin was developed by the Computer Centre in the National University of Ireland Maynooth.
Contributors
Bart Busschots (Lead maintainer)
Please login to view contributors details and/or to contact them
I encourage folks to provide not only the source control URL which you have done but also the tracker and documentation URLs. For those using Github.com, I recommend trying to follow the Moodle naming convention for repositories - in your case it would be moodle-local_syslogger. It is a small detail (and not required) but it helps those using plugins to have a consistent experience especially if they are managing their sites using Git. Would you consider renaming the repository?
I'm going to mark this as needing more work while you consider the repository rename (better to get that set before making it public). Otherwise it installs fine and seems to work well.
Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony
I'll have a read of the on-going logging discussion, and comment if I have anything useful to contribute to the discussion.
Regards,
Bart.
If you could patch that up I would appreciate it. Peace - Anthony
I wasn't able to reproduce the error you reported, but I've changed the line in question from:
$string['pluginname'] = $string['syslogger'];
to
$string['pluginname'] = 'Syslogger';
I've uploaded a new version, and also created a wiki page on GitHub and added the link to the plugin.
I think that should be everything fixed?
Regards,
Bart.
I recently installed the syslogger plugin and did the above mentioned steps, enabling the plugin, checking the other informations but except enabling the plugin I left everything on default.
Using CentOS 7 I then configured /etc/rsyslog.conf and added
# Save moodle Messages to moodle.log
local1.* /var/log/moodle.log
Moodle Cron Job is running every 15minutes but so far nothing was written into the moodle.log.
Using Moodle 3.5.x and latest Syslogger Plugin.
What am I missing?