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
593f88489a
Fixed missing utils link in log manager.
2015-05-08 05:07:01 +03:00
bb074d8f94
Removed stdout printing of useless messages from maxkeys and maxpasswd.
2015-05-06 21:00:43 +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
7c988c4fd5
Removed stdout specific functions in skygw_utils and moved the logic to log_manager instead.
2015-04-30 04:26:48 +03:00
47e5b12eb8
Added a function that frees the skygw_file_t memory but doesn't close it.
2015-04-29 18:25:35 +03:00
9ce225c2cb
Added log manager initialization flag that prints all logs to stdout.
2015-04-29 11:20:40 +03:00
17a7b2addb
Updated more variables.
2015-04-26 20:08:27 +03:00
df9bc65430
Added variables that are used when installing instead of relative paths.
2015-04-25 18:35:47 +03:00
b3745eba3e
Logging to file message update
...
Logging to file message update
2015-04-23 14:44:56 +02:00
86768966b9
Added support for logging messages to multiple logfiles in a single call.
2015-04-09 20:59:52 +03:00
df70fe8a4e
Renamed log files to message,error,trace and debug.
2015-04-09 13:40:02 +03:00
5eb223b92e
Changed /dev/shm folder names to maxscale.<pid> instead of only <pid>.
2015-03-24 20:00:45 +02:00
15262f3fbf
Added new Make target for testing MaxScale's core parts.
...
This target doesn't need a running MaxScale and only executes core, log_manager and query_classifier unit tests.
2015-03-19 11:56:40 +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
ad49c5f402
Added optional millisecond precision to logfiles and created the changelog document.
2015-02-24 18:10:16 +02:00
4f108af0fb
Fixed logs missing a single character when called with skygw_log_write_flush.
2015-02-23 20:26:19 +02:00
3924f70d6b
Fixed log manager sometimes not writing the last character in a log message.
...
This was caused by type conversions from int to size_t and the usage of the MAX macro.
2015-02-20 04:42:02 +02:00
9dfa4378b4
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
2015-02-16 09:21:38 +00:00
d7da8c5297
Code cleanup
2015-02-16 09:21:11 +00:00
37360eb02e
Merge pull request #72 from hholzgra/hartmut-warnings-2nd
...
"Hartmut warnings 2nd" merged.
2015-02-15 20:26:09 +02:00
678fbb4646
Log manager no longer creates files when checking if they exist.
2015-02-15 20:10:09 +02:00
691eefe0de
Fixed log manager writing to the file when it checks that they exist.
2015-02-15 19:51:40 +02:00
2166883383
consistently use size_t for buffer and string length calculations, not int
2015-02-13 17:23:25 +01:00
a9a9a6eae5
Small fixes to log_manager and query_classifier tests.
2015-01-30 08:26:10 +02:00
06c2d201e0
remove makefiles and other garbage
2015-01-14 19:08:24 +02:00
2b4e6bb594
Merge branch 'develop' into firewall
...
Conflicts:
server/modules/filter/test/CMakeLists.txt
2015-01-13 07:48:43 +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
3bf595673d
Added the missing skygw_log_sync_all function to the log_manager.h header and created a header for testing which contains the location of the testing directory.
2015-01-05 06:48:32 +02:00
8de7a5854a
Log files names printed only with DEBUG mode
...
Log files names printed only with DEBUG mode
2014-12-09 11:17:30 +01:00
5264a1abc9
Added function documentation, moved one non-error log entry to message log, cleaned up a bit.
2014-12-08 16:02:16 +02:00
825320dd7a
Merge branch 'release-1.0GA' into develop
2014-12-08 10:24:19 +00:00
84679a48ff
Fixes to Coverity defects 84335 84336 84337
2014-12-04 10:13:41 +02:00
1e2027f4dc
Fixes to Coverity defects 83027 73421 72714 72671 72646 72642
2014-12-03 17:56:22 +02:00
89c3b01925
Fixed the first log write after moving a cleared block buffer being written in the block buffer that was just moved.
2014-12-03 17:11:52 +02:00
f23ce6c7d5
Added log manager extra debug flags to CMake.
2014-12-03 16:09:33 +02:00
f2c2e4f81c
Fix to bug #617 , http://bugs.skysql.com/show_bug.cgi?id=617
...
When filewriter_init failed due to full disk, error branch freed messages twice. Removed unnecessary free command.
2014-12-02 23:58:28 +02:00
aab30f2eea
If linked log file in /dev/shm wasn't writable a new log file with increased seq.no. was created but the old link was also deleted. This was ok before log rotation and file creation with increasing seq.no was implemented but useless and confusing today.
...
Enabled printing this also in Release version:
raatikka@linux-yxkl:~/bin/develop/bin> ./maxscale -d -c ../
Info : MaxScale will be run in the terminal process.
Using Home directory command-line argument as MAXSCALE_HOME = /home/raatikka/bin/develop
Error log : /home/raatikka/bin/develop/log/skygw_err1.log
Message log : /home/raatikka/bin/develop/log/skygw_msg1.log
Trace log : /home/raatikka/bin/develop/log/skygw_trace1.log->/dev/shm/7886/skygw_trace1.log
Debug log : /home/raatikka/bin/develop/log/skygw_debug1.log->/dev/shm/7886/skygw_debug1.log
Home directory : /home/raatikka/bin/develop
Configuration file : /home/raatikka/bin/develop/etc/MaxScale.cnf
Log directory : /home/raatikka/bin/develop/log
Data directory : /home/raatikka/bin/develop/data/data7886
That is, all log files' names and locations are printed on the screen.
2014-12-02 23:15:24 +02:00
bdfdc3b522
Merge branch 'release-1.0GA' of https://github.com/mariadb-corporation/MaxScale into release-1.0GA
2014-12-02 20:03:14 +02:00
d608eb2532
Fix to bug #622 , http://bugs.skysql.com/show_bug.cgi?id=622
...
Ensured that soft link and physical file will have same sequence number. Prevented some unnecessary error printing and added more precise logs.
2014-12-02 20:02:00 +02:00
bac6795105
Added log synchronization to disk when signals are received.
2014-12-02 15:33:17 +02:00
49534f75b5
Added synchronous log flushing to disk when a signal is received.
2014-12-02 13:31:15 +02:00
e068614651
Yet another 1-char-off bug in log_manager
2014-11-27 19:33:20 +02:00
6def2b611e
Fixed some logs not being flushed
2014-11-27 17:31:31 +02:00
3e18e091c1
Fixed unreported bug in log_manager where a terminating character was added in the middle of log message.
2014-11-27 16:53:50 +02:00
013dd8e575
Changed to a skygw_message_t in skygw_log_sync_all.
2014-11-27 16:43:55 +02:00
b07df3b296
Renamed and improved the synchronous log flushing function.
2014-11-25 16:04:23 +02:00
5eaf963ad4
Removed unnecessary debug information and return values.
2014-11-25 14:47:50 +02:00