HI, is it possible to add php 8.x support?
]]>Hello,
I’ve noticed this plugin doesn’t seem actively maintained. I’d be willing to take over maintenance. How is this process managed
]]>Hello,
I love this plugin and it works great. I am planning to update to php 7.x in the coming months and I noticed this plugin is using some deprecated functions that have been removed in 7.x. Would it be possible to get those updated so this can be compatible with php 7.x?
FILE: ../wp-content/plugins/wp2syslog/wp2syslog.php
————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————
242 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead
Hi, I noticed this module uses LOG_DAEMON hard-coded as the “facility” when opening a connection to syslog. I believe in most setups, this will default to /var/log/messages. It would be nice if this could be configurable, so people could use their syslog configuration to change where these end up. This is especially helpful if you are trying to push your log data to external services, like AWS’ CloudTrail.
The current call to:
openlog($module, LOG_PID, LOG_DAEMON);
change to something like
openlog($module, LOG_PID, $facility);
As an example, in Drupal core, the syslog module can be configured to use the PHP envrionmental constants LOG_LOCAL0 through LOG_LOCAL7.
]]>Parse error: syntax error, unexpected ‘[‘ in /xxxxx/wp-content/plugins/wp2syslog/wp2syslog.php on line 95
I’m on PHP 5.3.
Is PHP version requirement for this plugin?
]]>Is there a way we can get this info sent to a syslog server like splunk? If not in the plugin, then where are the logs kept so I can create a service to send them to splunk? Thanks.
An export feature would be great too.
]]>I’d like to see IP & user agent logged.
]]>Hi and thank you for updating this very useful tools. The older wpsyslog2 was by far the best logging plugin up to now.
I’m running a clean WP 3.5.2 install with no other plugins. Normally I would expect to see a wp2syslog sidebar menu plus the wp2syslog and Show log sub-menus. But all I see is the top-level wp2syslog menu item which shows DB options and Core configuration. There is no apparent way to view the syslog.
Must I configure something else so that syslog can be displayed?
]]>Hi! Thanks for writing this plugin – I am using it.
I noticed that, in this function, on line 314 of wp2syslog_events.php
——————
function wp2syslog_user_register() {
global $wp2syslog_eventTriggered, $wp2syslogDoTrigger;
if ('true' === $wp2syslogDoTrigger['user_register']) {
$user = get_userdata(<strong>$arg</strong>);
wp2syslog('core', sprintf( __('New user successfully registered. Name: %1$s (%2$s).', 'wp2syslog'), $user->display_name, $user->user_login ), 3);
$wp2syslog_eventTriggered['user_register'] = true;
}
}
——————
that $arg is not set. You could put
$arg=get_current_user_id();
before $user = get_userdata($arg);
Thanks again and keep up the good work ??
]]>