[dovecot/core] 0165d0: lib: Event filter - Support wildcards in event nam...

GitHub noreply at github.com
Mon May 21 12:30:06 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 0165d0e4cfb918c712ea1833a98de24fac5a5fb9
      https://github.com/dovecot/core/commit/0165d0e4cfb918c712ea1833a98de24fac5a5fb9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M src/lib/event-filter.c
    M src/lib/event-filter.h

  Log Message:
  -----------
  lib: Event filter - Support wildcards in event names

This allows for example log_debug=event:*


  Commit: b91c753c87adefb039785b6de6838ed36b7a0910
      https://github.com/dovecot/core/commit/b91c753c87adefb039785b6de6838ed36b7a0910
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M src/lib/event-filter.c

  Log Message:
  -----------
  lib: Event filter - Source line number 0 now means "any"


  Commit: 4ecff60b33c37b70ac8872459caa02686077c2b1
      https://github.com/dovecot/core/commit/4ecff60b33c37b70ac8872459caa02686077c2b1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M src/lib-master/master-service-settings.c

  Log Message:
  -----------
  lib-master: Add improved log filter parsing

It now supports parenthesis to perform ANDs within a query. For example:
"(ruleA1 ruleA2) ruleB (ruleC1 ruleC2 ruleC3)" has 3 ORed rules.

Rules can contain:

 - event:<name>
 - source:<filename>[:<line number>]
 - field:<key>=<value> can be used multiple times
 - cat[egory]:<value> can be used multiple times

For example:

event:http_request_finished (cat:error cat:storage)

This matches either the "http_request_finished" named event, or
alternatively any error event that belongs to "storage" category.


  Commit: d6ecc5090baf6cdad5940c24dc9b3195b374c13b
      https://github.com/dovecot/core/commit/d6ecc5090baf6cdad5940c24dc9b3195b374c13b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M doc/example-config/conf.d/10-logging.conf

  Log Message:
  -----------
  example-config: Add log_debug and log_core_filter


  Commit: 8699605749984a0a38c8454bb420381983f1974f
      https://github.com/dovecot/core/commit/8699605749984a0a38c8454bb420381983f1974f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M src/lib/ioloop-poll.c
    M src/lib/ioloop-select.c

  Log Message:
  -----------
  lib: Fix ioloop-poll and ioloop-select to work with io_add_istream()


  Commit: 2d4b81b770105db7b9ae580e94564011c9f0e986
      https://github.com/dovecot/core/commit/2d4b81b770105db7b9ae580e94564011c9f0e986
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M src/lib-index/mail-index-sync-ext.c

  Log Message:
  -----------
  lib-index: Remove #if'ed out code

Originally added by 0b2d4626c6fb4e40bc81c56d8227191f3c7e1ea3. Possibly
accidentally.


  Commit: eb08f805f07d29249412901c9d6587fe31abdebb
      https://github.com/dovecot/core/commit/eb08f805f07d29249412901c9d6587fe31abdebb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M src/auth/auth-request-handler.c

  Log Message:
  -----------
  auth: Fix assert-crash if auth client sends 0 as ID

This could be triggered by anyone having (local) write access to the auth
socket.


  Commit: 3792760648c39cb85ac366b7771e1613ff5bd4c3
      https://github.com/dovecot/core/commit/3792760648c39cb85ac366b7771e1613ff5bd4c3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-05-21 (Mon, 21 May 2018)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Make sure host's last_updown_change never shrinks.

Otherwise the ring might get into a loop where two HOST updates keep
fighting each others. This could probably happen if one update comes at
"desynced" state and other one in non-desynced state.

I'm not entirely sure if this is fixing such a loop or not, but it at least
shouldn't hurt.


Compare: https://github.com/dovecot/core/compare/b072b9b3a0bc...3792760648c3
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list