Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
change log format for per application access log
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofkeppens committed Jun 8, 2016
1 parent e6620fe commit 699f9bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/log4j.properties
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ log4j.appender.serverStats.layout.EventInclude=destroy

# Below are logging definitions for dynamic log file generation on a per application basis.
# To use these logging appender, uncomment each of the lines below. It will generate log files
# using the following directory/file structure:
# using the following directory/file structure:
#
# [install-dir]/logs/[vhost]/[application]/wowzamediaserver_access.log
# [install-dir]/logs/[vhost]/[application]/wowzamediaserver_error.log
Expand All @@ -81,7 +81,7 @@ log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Applicatio
log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Application}_access.DatePattern='.'yyyy-MM-dd
log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Application}_access.File=${com.wowza.wms.ConfigHome}/logs/${com.wowza.wms.context.VHost}/${com.wowza.wms.context.Application}/wowzamediaserver_access.log
log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Application}_access.layout=com.wowza.wms.logging.ECLFPatternLayout
log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Application}_access.layout.Fields=x-severity,x-category,x-event;date,time,c-client-id,c-ip,c-port,cs-bytes,sc-bytes,x-duration,x-sname,x-stream-id,x-spos,sc-stream-bytes,cs-stream-bytes,x-file-size,x-file-length,x-ctx,x-comment
log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Application}_access.layout.Fields=date,time,tz,x-event,x-category,x-severity,x-status,x-ctx,x-comment,x-vhost,x-app,x-appinst,x-duration,s-ip,s-port,s-uri,c-ip,c-proto,c-referrer,c-user-agent,c-client-id,cs-bytes,sc-bytes,x-stream-id,x-spos,cs-stream-bytes,sc-stream-bytes,x-sname,x-sname-query,x-file-name,x-file-ext,x-file-size,x-file-length,x-suri,x-suri-stem,x-suri-query,cs-uri-stem,cs-uri-query
log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Application}_access.layout.OutputHeader=true
log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Application}_access.layout.QuoteFields=false
log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Application}_access.layout.Delimeter=tab
Expand Down Expand Up @@ -110,7 +110,7 @@ log4j.appender.${com.wowza.wms.context.VHost}_${com.wowza.wms.context.Applicatio

# Below are logging definitions for dynamic log file generation on a per virtual host basis.
# To use these logging appender, uncomment each of the lines below. It will generate log files
# using the following directory/file structure:
# using the following directory/file structure:
#
# [install-dir]/logs/[vhost]/wowzamediaserver_access.log
# [install-dir]/logs/[vhost]/wowzamediaserver_error.log
Expand Down

0 comments on commit 699f9bc

Please sign in to comment.