Enhancement #1777

Add commandline options to exclude scopes from logging

Added by J. Wienke about 10 years ago. Updated over 6 years ago.

Status:In ProgressStart date:02/18/2014
Priority:NormalDue date:
Assignee:J. Moringen% Done:

60%

Category:Common Lisp Tools
Target version:rsb-0.18

Description

Allow to exclude certain scopes from the logging process using command line arguments.


Related issues

Duplicated by Robotics Service Bus - Feature #2311: Allow negative scope filtering in the logger Rejected 06/02/2015

Associated revisions

Revision f11f570e
Added by J. Moringen about 10 years ago

Added complement-filter in src/filter/composite-filter.lisp

refs #1777

  • src/filter/composite-filter.lisp (header): updated copyright; fixed
    one-line summary
    (find-filter-class eql :complement): new method; return
    `complement-filter' class
    (find-filter-class eql :not): likewise
    (complement-filter): new class; logically negate result of subordinate
    filter
    (shared-initialize :before complement-filter t): new method; ensure
    exactly one subordinate filter
    (matches? complement-filter t): new method; negate result of
    subordinate filter
  • src/filter/package.lisp (header): updated copyright
    (package rsb.filter): added exported symbol complement-filter
  • cl-rsb.asd (system cl-rsb-test): changed
    test/filter/{disjoin,conjoin}-filter.lisp ->
    test/filter/composite-filter.lisp
  • test/filter/composite-filter.lisp: changed
    test/filter/{conjoin,disjoin}-filter.lisp ->
    test/filter/composite-filter.lisp
    (test suite complement-filter-root): new test suite; for
    `complement-filter'
    (define-basic-filter-test-cases complement-filter): new test cases;
    for `complement-filter'

Revision ba22bd96
Added by J. Moringen about 10 years ago

Added configurable exact matching in src/filter/scope-filter.lisp

refs #1777

  • src/filter/scope-filter.lisp (header): updated copyright
    (scope-filter): adapted documentation
    (scope-filter::exact?): new slot; control exact vs. sub-scope matching
    (matches? scope-filter event): match exactly or sub-scope depending on
    the exact slot
  • test/filter/scope-filter.lisp (print-object scope-filter t): print
    exact slot
    (define-basic-filter-test-cases scope-filter): test :exact? initarg

History

#1 Updated by J. Wienke about 10 years ago

  • Subject changed from Allow to exclude scopes from command lined to Allow to exclude scopes from loggin using the command lined

#2 Updated by J. Moringen about 10 years ago

  • Subject changed from Allow to exclude scopes from loggin using the command lined to Add commandline options to exclude scopes from logging

#3 Updated by J. Moringen about 10 years ago

  • Status changed from New to In Progress
  • Target version set to rsb-0.11
  • % Done changed from 0 to 20

#4 Updated by J. Moringen about 10 years ago

  • % Done changed from 20 to 60

#5 Updated by J. Moringen over 9 years ago

  • Target version changed from rsb-0.11 to rsb-0.12

#6 Updated by J. Moringen almost 9 years ago

  • Target version changed from rsb-0.12 to rsb-0.13

#7 Updated by J. Moringen almost 9 years ago

  • Duplicated by Feature #2311: Allow negative scope filtering in the logger added

#8 Updated by J. Moringen about 8 years ago

  • Target version changed from rsb-0.13 to rsb-0.14

#9 Updated by J. Moringen almost 8 years ago

  • Target version changed from rsb-0.14 to rsb-0.15

#10 Updated by J. Moringen over 7 years ago

  • Target version changed from rsb-0.15 to rsb-0.16

#11 Updated by J. Moringen about 7 years ago

  • Target version changed from rsb-0.16 to rsb-0.17

#12 Updated by J. Moringen over 6 years ago

  • Target version changed from rsb-0.17 to rsb-0.18

Also available in: Atom PDF