Files
MaxScale/include/maxscale
Johan Wikman 4c1b7f761c MXS-421 Add maxscale::event concept
MaxScale now defines events for which the syslog
facility and level can explicitly be defined by the
administrator. Currently there is only one such
event, namelt AUTHENTICATION_FAILURE.

In a subsequent commit, config.cc will be modified so
that event-related configuration parameters are passed
to event::configure() and in another subsequent commit
the authenticators will be modifed to use this mechanism.

In practice a line like:

   MXS_WARNING("%s: login attempt for user '%s'@[%s]:%s, "
               "authentication failed.",
               dcb->service->name, client_data->user,
               dcb->remote, dcb->path);

will be changed to

    MXS_LOG_EVENT(event::AUTHENTICATION_FAILURE,
                  "%s: login attempt for user '%s'@[%s]:%s, "
                  "authentication failed.",
                  dcb->service->name, client_data->user,
                  dcb->remote, dcb->path);
2018-06-18 11:32:50 +03:00
..
2017-06-01 10:24:20 +03:00
2018-05-14 10:14:16 +03:00
2018-04-27 10:48:56 +03:00
2018-06-01 09:33:04 +03:00
2018-04-20 10:24:00 +03:00
2018-02-12 11:51:39 +02:00
2018-04-10 15:29:29 +03:00
2017-02-20 17:44:22 +02:00
2018-06-08 11:30:55 +03:00
2017-06-01 10:24:20 +03:00
2017-06-29 15:34:22 +02:00
2018-06-12 17:32:35 +03:00
2017-09-07 10:41:15 +03:00
2018-06-18 11:32:50 +03:00
2017-06-01 10:24:20 +03:00
2018-05-31 14:04:22 +03:00
2018-04-27 12:00:38 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-10-03 14:30:06 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2018-04-10 15:31:51 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2018-02-28 20:11:27 +02:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2018-02-06 14:51:07 +02:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2018-06-08 14:41:11 +03:00
2018-06-15 10:48:07 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-11-21 16:49:21 +02:00
2017-06-01 10:24:20 +03:00
2017-09-26 14:29:14 +03:00
2017-03-09 10:01:38 +02:00
2018-04-16 14:53:08 +03:00