0224f24077
2.4.16 Update Change Date
2021-02-16 14:59:00 +02:00
c5bcf7a8b1
2.4.15 Update change date
2021-01-18 15:30:30 +02:00
df36ef86d0
2.4.14 Update Change Date
2020-11-16 14:23:26 +02:00
faaf7f483e
2.4.13 Update Change Date
2020-10-14 09:15:46 +03:00
babcda3eca
2.4.12 Update Change Date
2020-08-24 09:42:48 +03:00
f3d4c27e58
Merge branch '2.3' into 2.4
2020-08-19 12:20:49 +03:00
b5fa26e8a6
MXS-3113: Log a message when log rotation is complete
...
This helps detect that writes to the new log file are working.
2020-08-19 12:15:25 +03:00
fc9c9fcd77
2.4.11 Update change date
2020-07-07 10:01:38 +03:00
aa11c960b1
2.3.20 Update change date
2020-06-05 09:31:45 +03:00
f527a8f2e6
2.3.19 Update Change Date
2020-04-23 14:23:57 +03:00
e0cd6adb26
Update change date for 2.3.18
2020-03-10 10:45:47 +02:00
cfb3f79b54
Update 2.3.17 Change Date
2020-02-10 15:28:38 +02:00
790d90f229
Update 2.3.16 Change Date
2020-01-15 11:08:51 +02:00
df6c56e7ca
Update 2.3.13 Change Date
2019-10-29 12:51:31 +02:00
3ddcc49288
MXS-2592 Use the correct log level variable
2019-07-29 12:07:02 +03:00
918a2964d5
MXS-2592 Add configuration for session specific in-memory log
...
When enabled each session will write log messages in the in-memory log.
If session ends in error this log is written to the actual log in disk.
2019-07-28 20:56:22 +03:00
75ea1b6ea1
Fix formatting of new(std::nothrow)
...
The code previously formatted everything as `new( std::nothrow)`.
2018-10-04 21:50:44 +03:00
268e689dc5
Fix code for warnings: unused-but-set-variable and warn_unused_result.
2018-10-03 16:33:24 +03:00
75f9921ca2
Merge branch '2.2' into develop
2018-10-02 10:18:09 +03:00
71ffef5708
Partially revert 4ba011266843857bbd3201e5b925a47e88e1808f
...
Add back leading operator enforcement.
2018-09-20 15:57:30 +03:00
c447e5cf15
Uncrustify maxscale
...
See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
2018-09-09 22:26:19 +03:00
e852dcacdd
MXS-2008 Provide single entrypoint for initializing maxbase
...
Everything of maxbase can now be initialized by a call to
maxbase_init();
(from a C-program) or
maxbase::init();
from a C++-program and finalized with calls to either
maxbase_finish() or maxbase::finish(). Creating an instance
maxbase::MaxBase will take care of both operations.
2018-08-21 10:02:39 +03:00
9510a3ae1a
Use normal asserts in log.cc
...
The logger can't use the asserts that log messages as it introduces a
cyclical dependency on the logger itself.
2018-08-17 18:09:51 +03:00
19684deb69
MXS-2014 Init and finish properly
...
If any part of initalization fails, no resources are held.
At finalization, release all resources.
Also re-implement recent changes made to log_manager.cc that
did not automatically move over to log.cc.
2018-08-16 11:09:30 +03:00
a586aa13c4
MXS-2014 Add proper OOM support
...
Not that I think it ever will be needed...
2018-08-16 09:59:43 +03:00
85b68c439a
MXS-2014 Still more cleanup of maxbase/log.h
2018-08-16 09:59:43 +03:00
8ae2997c4e
MXS-2014 Remove separate log_write() function
2018-08-16 09:59:43 +03:00
5b46d815e4
MXS-2014 Move message status checking into MessageRegistry
2018-08-16 09:59:43 +03:00
79b292dc39
MXS-2014 Additional cleanup of log.cc
2018-08-16 09:59:43 +03:00
5b70c7605c
MXS-2014 Some cleanup of log.cc
...
Unused stuff removed and unit variables collected into this_unit
structure.
2018-08-16 09:59:43 +03:00
0c479b5d13
MXS-2014 Enable asserts in log.cc
2018-08-16 09:59:43 +03:00
52e6e10e28
MXS-2014 Remove duplicate function
...
Two functions that essentially did the same thing, but had
slightly different name.
2018-08-16 09:58:00 +03:00
a191ed85a2
MXS-2014 Expose everything needed by the MaxScale log manager
2018-08-16 09:58:00 +03:00
1a6eb8165a
MXS-2014 Add log.[h|cc] to maxbase
...
Almost a verbatim copy of log_manager.[h|cc] with mxs changed
to mxb. The changes allow the MaxScale log manager to be moved
on top of this implementation.
2018-08-16 09:58:00 +03:00