" /> Log Event Filtering - Genesys CTI User Forum

Author Topic: Log Event Filtering  (Read 3243 times)

GenUser

  • Guest
Log Event Filtering
« on: February 23, 2010, 10:09:54 PM »
Advertisement
Hi All:

Is there any way to filter out log messages by config object type/dbid or messagetext?

e.g.

I have config server log setting standard=network.

When someone changes a place in CME, log db gets -
21-24201: Object:[CfgPlace], name[**], DBID:[**] is changed by client, type[SCE], name:[CME], user:[*]

When someone changes an access group, log db similarly gets -
21-24201: Object:[CfgAccessGroup], name[**], DBID:[**] is changed by client, type[SCE], name:[CME], user: [*]

Now, I do not want access group related changes to be written in log db (but I need place records to be written).

Anyone aware if it is possible to filter log messages by Object type (e.g. Place, access group etc.) or Object DBID (Since number of access groups are less, if possible I'd like to do this too)?

Thanks in advance for your help.

B.

Marked as best answer by on April 14, 2025, 09:46:21 AM

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: Log Event Filtering
« Reply #1 on: February 24, 2010, 01:00:32 AM »
  • Undo Best Answer
  • I think it's not possible at all, unless you re-parse the log file with some bespoke Unix scripts. If instead you want to remove the generic message 21-24201 from the log file, you should modify the .lms file in the installation directory.

    Fra

    GenUser

    • Guest
    Re: Log Event Filtering
    « Reply #2 on: February 24, 2010, 01:18:21 AM »
    Hi Fra,

    Thank you for your response.

    There are some filtering options provided by message server, which allow to filter messages by eventid (e.g. 24201) or application type (e.g. 21) or application DBID. However, I do not see anything which will allow filtering some of the messages when all of the above are same (i.e. same application, same event id) with only object type is different.

    Thanks

    Offline René

    • Administrator
    • Hero Member
    • *****
    • Posts: 1832
    • Karma: 62
    Re: Log Event Filtering
    « Reply #3 on: February 24, 2010, 01:19:18 PM »
    Hi GenUser,

    There is no such option allowing you to filter messages by object name. If you don't want to keep all captured data then you can remove them directly from database. Structure of LOG database is described in "Framework 7.x Management Layer User's Guide", chapter "Log Format / Database Format". Of course, you should be careful when deleting data as MessageServer is connected to the database and uses it.

    R.