Results 1 to 4 of 4

Thread: Only log specific events

  1. #1
    Join Date
    Aug 2013
    Posts
    8

    Default Only log specific events

    Is it possible to exclude some of the events (like seek, play, pause) from being logged to wowzastreamingengine_access.log?

    log4j.properties contains this
    # Event list
    #connect-pending,connect,disconnect,publish,unpublish,play,pause,setbuffertime,create,destroy,setstreamtype,unpause,seek,stop,record,recordstop,server-start,server-stop,vhost-start,vhost-stop,app-start,app-stop,comment,announce
    but doesn't specify how to configure the access appender to ignore some of these events

    Thanks

  2. #2

    Default

    Hello there.

    You can use Category and Event Include/Exclude:
    log4j.appender.serverAccess.layout.EventExclude=play,seek,pause

    CategoryInclude
    Comma separated list of logging categories. Only log events with the specified categories will be logged.
    CategoryExclude
    Comma separated list of logging categories. Only log events whose category is not in this list will be logged.
    EventInclude
    Comma separated list of logging events. Only log events with the specified event name will be logged.
    EventExclude
    Comma separated list of logging categories. Only log events whose event name is not in this list will be logged.

    There is a logging section in the Wowza UserGuide I believe it starts on page 73

    Kind regards.

    Salvadore

  3. #3
    Join Date
    Aug 2013
    Posts
    8

    Default

    Thank you Salvatore!

  4. #4

    Default

    You are most welcome.

    If there is anything else we can help you with please feel free to ask.

    Kind regards,

    Salvadore

Similar Threads

  1. How to make getLogger() log to a specific file?
    By maugzoide in forum General Forum
    Replies: 3
    Last Post: 09-26-2014, 01:27 AM
  2. How to listen for log events from Wowza
    By GraemeBull in forum General Forum
    Replies: 2
    Last Post: 01-15-2013, 01:50 PM
  3. uniform way to log stream events for different streams
    By themarty in forum General Forum
    Replies: 5
    Last Post: 07-27-2012, 06:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •