Wowza Community

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

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

You are most welcome.

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

Kind regards,

Salvadore

Thank you Salvatore!