[MCOL-1027] Document syslog-ng limitations - getlogconfig and setlogconfig not supported Created: 2017-11-10  Updated: 2022-11-05  Resolved: 2022-11-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: Documentation
Affects Version/s: 1.1.1
Fix Version/s: Icebox

Type: Task Priority: Trivial
Reporter: Sasha V Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Environment:

Docker Ubuntu 16.04.2 LTS


Issue Links:
Relates
relates to MCOL-1730 Support for syslog-ng version 3.13 Closed

 Description   

The command
mcsadmin getLogConfig
reports:

getlogconfig   Fri Nov 10 15:59:37 2017
 
MariaDB ColumnStore System Log Configuration Data
 
System Logging Configuration File being used: /etc/syslog-ng/syslog-ng.conf
 
Module    Configured Log Levels
------    ---------------------------------------
pm1       getLogConfig Failed - Error : 1

The log files have:

cat /var/log/mariadb/columnstore/err.log 
Nov 10 15:59:37 s_columnstore@mcs111 ProcessMonitor[5972]: 37.942654 |0|0|0| E 18 CAL0000: ERROR: config file not support, /etc/syslog-ng/syslog-ng.conf         
 
tail /var/log/mariadb/columnstore/info.log
 
Nov 10 15:59:37 s_columnstore@mcs111 ProcessManager[6052]: 37.941766 |0|0|0| I 17 CAL0000: MSG RECEIVED: Get Log Configuation         
Nov 10 15:59:37 s_columnstore@mcs111 ProcessMonitor[5972]: 37.942455 |0|0|0| I 18 CAL0000: MSG RECEIVED: Get Module Log Configuration data         
Nov 10 15:59:37 s_columnstore@mcs111 ProcessMonitor[5972]: 37.942768 |0|0|0| I 18 CAL0000: PROCGETCONFIGLOG: ACK back to ProcMgr, return status = 1         
Nov 10 15:59:37 s_columnstore@mcs111 ProcessManager[6052]: 37.942963 |0|0|0| I 17 CAL0000: GETCONFIGLOG: ACK back to sender, return status = 1         

The error is hardcoded at
https://github.com/mariadb-corporation/mariadb-columnstore-engine/blob/columnstore-1.1.1/procmon/processmonitor.cpp#L3242

	string::size_type pos = fileName.find("syslog-ng",0);
	if (pos != string::npos) {
		// not supported
		log.writeLog(__LINE__, "ERROR: config file not support, " + fileName, LOG_TYPE_ERROR );
		return API_FAILURE;
	}

I suggest to describe the limited support for syslog-ng at
https://mariadb.com/kb/en/library/preparing-for-columnstore-installation-11x/#system-logging-package
where the documentation says:

System Logging Package

MariaDB ColumnStore utilizes the System Logging applications for generating logs. So one of the below system logging applications should be install on all servers in the ColumnStore system:

  • syslog
  • rsyslog
  • syslog-ng


 Comments   
Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

Generated at Thu Feb 08 02:25:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.