# Only log specific events

**URL:** https://community.wowza.com/t/only-log-specific-events/40983
**Category:** Wowza Streaming Engine
**Tags:** server-administration
**Created:** [December 12, 2014, 9:13am UTC](https://community.wowza.com/t/only-log-specific-events/40983 "2014-12-12T09:13:38Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Claudio\_Beretta](https://avatars.discourse-cdn.com/v4/letter/c/9de053/32.png) [@Claudio\_Beretta](https://community.wowza.com/u/Claudio_Beretta)
#### Post date: [December 12, 2014, 9:13am UTC](https://community.wowza.com/t/only-log-specific-events/40983/1 "2014-12-12T09:13:38Z")

</div>

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

log4j.properties contains this

```auto
# 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

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [December 12, 2014, 9:14am UTC](https://community.wowza.com/t/only-log-specific-events/40983/2 "2014-12-12T09:14:55Z")

</div>

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](https://www.wowza.com/resources/WowzaMediaServer_UsersGuide.pdf) I believe it starts on page 73

Kind regards.

Salvadore

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [December 12, 2014, 3:34pm UTC](https://community.wowza.com/t/only-log-specific-events/40983/3 "2014-12-12T15:34:50Z")

</div>

You are most welcome.

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

Kind regards,

Salvadore

---

<div class="post-metadata">

### Author: ![Claudio\_Beretta](https://avatars.discourse-cdn.com/v4/letter/c/9de053/32.png) [@Claudio\_Beretta](https://community.wowza.com/u/Claudio_Beretta)
#### Post date: [December 12, 2014, 4:03pm UTC](https://community.wowza.com/t/only-log-specific-events/40983/4 "2014-12-12T16:03:03Z")

</div>

Thank you Salvatore!
