Results 1 to 5 of 5

Thread: big log file size

  1. #1
    Join Date
    Aug 2013
    Posts
    8

    Angry big log file size

    Dear all,
    I am facing a problem with the log file. Each day a log file of about 7 GB (it reaches 11 GB sometimes) is created in the logs directory in wowza installation directory.
    How can I stop writing everything to the log file and I didn't add any module to the application.xml of the live?

    Here is a sample of the logfile that is writting about 100 line each second (I noticed from the java window that appear when I open wowza startup). it was taken at 2 different times and separated by a line of ************************.
    http://pastebin.com/d8frikrR

    I have another server that I installed the wowza server on it making a ~40 MB logfile each day.

    Can u help me understand what module is writing all this data and how to stop it?
    Thanks

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You can comment out any or all of the appenders in the /conf/log4j.properties file.

    Richard

  3. #3

    Default

    You had to change the DEBUG option in the /conf/log4j.properties file and restart.

    "log4j.rootCategory=DEBUG, stdout, serverAccess, serverError"

    to

    "log4j.rootCategory=INFO, stdout, serverAccess, serverError"

    Jinmo Kang
    Last edited by comjakma; 09-10-2013 at 06:41 PM.

  4. #4
    Join Date
    Aug 2013
    Posts
    8

    Default

    Quote Originally Posted by comjakma View Post
    You had to change the DEBUG option in the /conf/log4j.properties file and restart.

    "log4j.rootCategory=DEBUG, stdout, serverAccess, serverError"

    to

    "log4j.rootCategory=INFO, stdout, serverAccess, serverError"

    Jinmo Kang
    Thanks I notice it with second server and change it before you replied but if I want to log the ips that are viewing the stream when the connect, how can I do it? I think it won't make the logfile so big.

    Thanks a lot guys.

  5. #5

    Default

    See the c-ip field of access log files.

    If you want to check in the console, just append the field to 'c-ip'.

    log4j.appender.stdout.layout.Fields=x-severity,x-category,x-event,x-ctx,x-comment,c-ip

Posting Permissions

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