Johan Wikman
17c3d1e612
MXS-1441 Make externcmd_allocate const correct
2017-10-03 10:45:37 +03:00
Markus Mäkelä
895d950da0
Format all source files with Astyle
...
Formatted all source files Astyle.
2017-09-28 07:04:21 +03:00
Johan Wikman
7b6680b8fa
Merge branch '2.1' into 2.2
2017-09-27 13:04:14 +03:00
Markus Mäkelä
bd3e2904e7
MXS-1405: Log subprocess output according to log level
...
If the executed subprocess prefixes its output with either `error:`,
`warning:` or `info:`, the message will be logged on the appropriate
level. If no prefix is provided, the message is logged on the notice
level.
2017-09-18 11:39:33 +03:00
Markus Mäkelä
130b686d9b
MXS-1405: Log subprocess output immediately
...
When the subprocess outputs a line, the message should be logged
immediately. This allows automated timestamps for the output of the
executed subprocess.
2017-09-18 11:39:33 +03:00
Markus Mäkelä
7e6e8d3e29
MXS-1405: Capture subprocess output
...
The output by the subprocesses launched by the externcmd system is now
captured and logged.
2017-09-18 11:39:33 +03:00
Markus Mäkelä
097f1b4613
MXS-1405: Move externcmd documentation to header
...
The function documentation is more useful in the public header.
2017-09-13 22:54:26 +03:00
Markus Mäkelä
4f7606ebc0
MXS-1405: Execute EXTERNCMD synchronously
...
The execution of external commands in MaxScale by monitors needs to be
synchronous in order to prevent the unintended detection of state changes.
2017-09-13 22:51:53 +03:00
Johan Wikman
02b9e0a01d
Merge branch '2.1.7' into develop-2.1-merge
2017-09-12 11:08:02 +03:00
Johan Wikman
de7004cb95
Merge branch '2.1' into develop
2017-08-15 10:31:30 +03:00
Johan Wikman
f546a17e77
Update change date of 2.2
2017-06-01 10:24:20 +03:00
Johan Wikman
77bc2dd7bb
Compile externcmd.c as C++
2017-03-24 09:21:20 +02:00