4cbcc4ecb6 
					 
					
						
						
							
							Removed old unused cmake variables, updated documentation and fixed testall suite.  
						
						 
						
						
						
						
					 
					
						2015-05-26 15:12:29 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5f076b81d4 
					 
					
						
						
							
							Merge branch 'install_dir_change' into develop  
						
						 
						
						... 
						
						
						
						Conflicts:
	CMakeLists.txt
	Documentation/Tutorials/Administration-Tutorial.md
	log_manager/CMakeLists.txt
	server/core/CMakeLists.txt
	server/core/gateway.c
	server/core/maxkeys.c
	server/core/maxpasswd.c
	server/modules/filter/test/CMakeLists.txt
	server/modules/routing/CMakeLists.txt 
						
						
					 
					
						2015-05-26 13:34:39 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0d85ae6603 
					 
					
						
						
							
							Changed data directory to /var/lib/maxscale.  
						
						 
						
						
						
						
					 
					
						2015-05-22 11:31:22 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a6701ee786 
					 
					
						
						
							
							Added missing newline to usage output.  
						
						 
						
						
						
						
					 
					
						2015-05-14 15:42:49 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						63060d1233 
					 
					
						
						
							
							Added possibility to run as non-root user.  
						
						 
						
						
						
						
					 
					
						2015-05-10 06:27:41 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dcd0098823 
					 
					
						
						
							
							Added stdout as an option for log output with the -l or --log command line option.  
						
						 
						
						
						
						
					 
					
						2015-05-06 17:33:02 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9e0a2bfc12 
					 
					
						
						
							
							Changed relevant files to use get_cachedir() instead of using the now deprecated MAXSCALE_HOME.  
						
						 
						
						
						
						
					 
					
						2015-04-27 21:55:57 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						55249193a9 
					 
					
						
						
							
							Updated post-install scripts and binlogrouter  
						
						 
						
						... 
						
						
						
						Binlogrouter: Switched hard-coded maximum path values to PATH_MAX and used cache directory instead of MAXSCALE_HOME
Scripts: Updated with new executable file paths 
						
						
					 
					
						2015-04-27 14:47:26 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bbcecc0db5 
					 
					
						
						
							
							Changed all MaxScale.cnf code references to maxscale.cnf  
						
						 
						
						
						
						
					 
					
						2015-04-27 13:44:36 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0cfcad55da 
					 
					
						
						
							
							Moved get_libdir function to its own file.  
						
						 
						
						
						
						
					 
					
						2015-04-27 11:06:11 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c500d23d04 
					 
					
						
						
							
							Moved default file search paths to gwdirs.h which is configured by CMake from gwdirs.h.in.  
						
						 
						
						
						
						
					 
					
						2015-04-27 04:48:50 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						17a7b2addb 
					 
					
						
						
							
							Updated more variables.  
						
						 
						
						
						
						
					 
					
						2015-04-26 20:08:27 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ed426ca30d 
					 
					
						
						
							
							Updated packaging install layout, moved some cmake files around.  
						
						 
						
						
						
						
					 
					
						2015-04-26 06:35:36 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						df9bc65430 
					 
					
						
						
							
							Added variables that are used when installing instead of relative paths.  
						
						 
						
						
						
						
					 
					
						2015-04-25 18:35:47 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						eec053924c 
					 
					
						
						
							
							Updated various MaxScale command line and configuration options to allow custom log, module, data, cache and language directories.  
						
						 
						
						
						
						
					 
					
						2015-04-24 22:11:49 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c9e2632bb8 
					 
					
						
						
							
							Revert "MXS-117:  https://mariadb.atlassian.net/browse/MXS-117 "  
						
						 
						
						... 
						
						
						
						This reverts commit c89c7047053f0d6f89069d1b6da2f9caa856066b. 
						
						
					 
					
						2015-04-24 17:57:41 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						62ebf542d5 
					 
					
						
						
							
							Revert "Changed PID file to /data instead of /log"  
						
						 
						
						... 
						
						
						
						This reverts commit 45c3b453ec54ae93f82cc3bd53294fc25aced4ee. 
						
						
					 
					
						2015-04-24 17:56:59 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						45c3b453ec 
					 
					
						
						
							
							Changed PID file to /data instead of /log  
						
						 
						
						
						
						
					 
					
						2015-04-24 17:47:30 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c89c704705 
					 
					
						
						
							
							MXS-117:  https://mariadb.atlassian.net/browse/MXS-117  
						
						 
						
						... 
						
						
						
						Added command line and configuration file options for controlling the log directory. The default log directory is now /var/log/maxscale/. 
						
						
					 
					
						2015-04-24 17:15:28 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						97a6bd1b4b 
					 
					
						
						
							
							Fix to MXS-63:  https://mariadb.atlassian.net/browse/MXS-63  
						
						 
						
						... 
						
						
						
						Maxkeys and maxpasswd now use MAXSCALE_HOME or the default installation directory if MAXSCALE_HOME is not set.
If all else fails, /tmp/ is used for logging. 
						
						
					 
					
						2015-03-30 20:42:18 +03:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7cfc1d3cc9 
					 
					
						
						
							
							Chaged MaxScale default installation directory to /usr/local/mariadb/maxscale and MaxAdmin password to 'mariadb'.  
						
						 
						
						
						
						
					 
					
						2015-03-23 14:53:31 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						63d83cd85d 
					 
					
						
						
							
							Monitor API 2.0.0 implemented.  
						
						 
						
						
						
						
					 
					
						2015-03-11 15:18:55 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1b91f776a3 
					 
					
						
						
							
							Added option to disable logging to MaxScale's log files.  
						
						 
						
						
						
						
					 
					
						2015-03-09 19:38:37 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1ff0756044 
					 
					
						
						
							
							Added a command line option for syslog logging.  
						
						 
						
						
						
						
					 
					
						2015-03-05 12:37:39 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1b0fd4576a 
					 
					
						
						
							
							Merge branch 'maxinfo' into develop  
						
						 
						
						... 
						
						
						
						Conflicts:
	server/core/service.c
	server/core/session.c
	server/include/session.h 
						
						
					 
					
						2015-03-04 11:33:00 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b897c7da80 
					 
					
						
						
							
							Revert "Logfiles are now writted to file instead of shared memory as a default."  
						
						 
						
						... 
						
						
						
						This reverts commit 2477043d11bde7a2dd28ff9c5535e0b121ff8105. 
						
						
					 
					
						2015-02-26 15:54:06 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						46c4fefb00 
					 
					
						
						
							
							Fixes to coverity defects 87601 87557 87548 87547 87546 87545 87544 87536 87535 87529 87528  
						
						 
						
						
						
						
					 
					
						2015-02-22 22:29:30 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8e941f7523 
					 
					
						
						
							
							Addition of the MaxInfo filter and the generic MaxScale resultset  
						
						 
						
						
						
						
					 
					
						2015-02-18 17:25:13 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						37360eb02e 
					 
					
						
						
							
							Merge pull request  #72  from hholzgra/hartmut-warnings-2nd  
						
						 
						
						... 
						
						
						
						"Hartmut warnings 2nd" merged. 
						
						
					 
					
						2015-02-15 20:26:09 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						617f44c9c9 
					 
					
						
						
							
							use intptr_t type for pointer->integer conversion so that int <-> pointer sizes match  
						
						 
						
						
						
						
					 
					
						2015-02-14 16:39:05 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						2477043d11 
					 
					
						
						
							
							Logfiles are now writted to file instead of shared memory as a default.  
						
						 
						
						... 
						
						
						
						This can still be enabled while starting maxscale. 
						
						
					 
					
						2015-02-13 23:59:32 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7a55d482a2 
					 
					
						
						
							
							Fix to bug 700:  http://bugs.mariadb.com/show_bug.cgi?id=700  
						
						 
						
						... 
						
						
						
						--version now prints the version string. 
						
						
					 
					
						2015-01-26 10:19:25 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d4d9304dab 
					 
					
						
						
							
							Removed unused values.  
						
						 
						
						
						
						
					 
					
						2015-01-18 06:08:38 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						66db37341d 
					 
					
						
						
							
							Updates all references to INSTALL_DIR with CMAKE_INSTALL_PREFIX.  
						
						 
						
						
						
						
					 
					
						2015-01-18 05:55:29 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6be227f3c4 
					 
					
						
						
							
							Added comments, removed non-existing function, cleaned up a bit.  
						
						 
						
						
						
						
					 
					
						2015-01-12 14:25:37 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8572a08cab 
					 
					
						
						
							
							Merge branch 'master' into develop  
						
						 
						
						
						
						
					 
					
						2015-01-09 11:23:03 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						beacd524da 
					 
					
						
						
							
							Fix to bug  #662 ,  http://bugs.mariadb.com/show_bug.cgi?id=662  
						
						 
						
						... 
						
						
						
						dbusers.c: Added function for setting read, write and connection timeout values. Set default timeouts for getUsers. Defaults are listed in service.c
gateway.c:shutdown_server is called whenever MaxScale is to be shut down. Added call for service_shutdown to shutdown_server.
service.c:service_alloc: replaced malloc with calloc and removed unnecessary zero/NULL initialization statements as a consequence.
	serviceStart: Exit serviceStartPort loop if shutdown flag is set for the service.
	serviceStartAll: Exit serviceStart loop if shutdown flag is set for the service.
service.c: Added service_shutdown which sets shutdown flag for each service found in allServices list.
service.h: Added prototype for service_shutdown 
						
						
					 
					
						2014-12-29 13:45:24 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						c75ba90f6f 
					 
					
						
						
							
							Fixes to Coverity defect 84478 and to 72759 which has reappeared.  
						
						 
						
						
						
						
					 
					
						2014-12-11 09:43:59 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						825320dd7a 
					 
					
						
						
							
							Merge branch 'release-1.0GA' into develop  
						
						 
						
						
						
						
					 
					
						2014-12-08 10:24:19 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						49534f75b5 
					 
					
						
						
							
							Added synchronous log flushing to disk when a signal is received.  
						
						 
						
						
						
						
					 
					
						2014-12-02 13:31:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						863a30c969 
					 
					
						
						
							
							Merge branch 'blr' of  https://github.com/mariadb-corporation/MaxScale  into blr  
						
						 
						
						... 
						
						
						
						Conflicts:
	server/core/gateway.c 
						
						
					 
					
						2014-11-26 08:47:50 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ba44605cb0 
					 
					
						
						
							
							Changes for FDE events  
						
						 
						
						
						
						
					 
					
						2014-11-21 15:01:38 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a65b9fa8b3 
					 
					
						
						
							
							Fixes to Coverity defects: 72662 82143 82144 82145 82348 82349  
						
						 
						
						
						
						
					 
					
						2014-11-20 06:44:43 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						97b730c2e0 
					 
					
						
						
							
							Addition of signal handler for SIGUSR1 to rotate all log files  
						
						 
						
						
						
						
					 
					
						2014-11-19 15:16:48 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d3c8770852 
					 
					
						
						
							
							Merge branch 'blr' into develop  
						
						 
						
						... 
						
						
						
						Conflicts:
	client/maxadmin.c
	server/core/CMakeLists.txt
	server/core/dcb.c
	server/core/gateway.c
	server/core/poll.c
	server/core/test/CMakeLists.txt
	server/core/test/makefile
	server/include/poll.h
	server/modules/routing/debugcmd.c 
						
						
					 
					
						2014-11-19 12:00:55 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ed461d58e2 
					 
					
						
						
							
							Moved messages to message log  
						
						 
						
						... 
						
						
						
						Moved messages to message log and others printed only with DEBUG mode
compile setting 
						
						
					 
					
						2014-11-19 11:36:44 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fd11e6a7f5 
					 
					
						
						
							
							Session-specific logging. Added functions  
						
						 
						
						... 
						
						
						
						void session_enable_log(SESSION* ses, logfile_id_t id)
and
void session_disable_log(SESSION* ses, logfile_id_t id)
Which switch specific log type on/off if the log type in question is not generally enabled.
Each thread carries a thread-specific struct log_info_t which includes members for current session id and bitfield for enabled log types for the current session. That information is checked before actual log write functions are called.
Each file where session-specific logging is used, must include the following exports:
/** Defined in log_manager.cc */
extern int            lm_enabled_logfiles_bitmask;
extern size_t         log_ses_count[];
extern __thread log_info_t tls_log_info; 
						
						
					 
					
						2014-11-19 00:08:59 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						70eef7aaa8 
					 
					
						
						
							
							Fix to bug  #513 ,  http://bugs.skysql.com/show_bug.cgi?id=513  
						
						 
						
						
						
						
					 
					
						2014-11-17 15:33:13 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b37fb35669 
					 
					
						
						
							
							Removed PID print to stderr  
						
						 
						
						... 
						
						
						
						Removed PID print to stderr. it’s already included id message log 
						
						
					 
					
						2014-11-14 10:03:11 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9a5168c3e8 
					 
					
						
						
							
							Put errors ganerating code behind FAKE_CODE macro, which is not defined by default in any build.  
						
						 
						
						
						
						
					 
					
						2014-11-10 15:22:08 +02:00