You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this is just an issue for the usageStatsLog files (as opposed to Apache logs), the solution might be as simple as forcing UsageEventPlugin::_buildUsageEvent() to normalize the usage_event log output to include the base_url rather than the HTTP_HOST.
If the log file being ingested contains a DNS name other than what is listed in the base_url, the processing of the line fails silently at https://github.com/pkp/ojs/blob/ojs-dev-2_4/plugins/generic/usageStats/UsageStatsLoader.inc.php#L349
C.f. http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=13404&p=51618&hilit=base_url#p51615
Proposed solution:
Capture base_url aliases in config.inc.php or site_settings/journal_settings.
The text was updated successfully, but these errors were encountered: