Results 1 to 2 of 2

Thread: WMSLoggerFactory.getLogger(null).info(" info ") to different file

  1. #1
    Join Date
    Jul 2012
    Posts
    7

    Default WMSLoggerFactory.getLogger(null).info(" info ") to different file

    Hi

    I'd like to log some informations in my module to a different log file.
    Is there a way to do that with WMSLoggerFactory or should I write my own logger?

    Thank you very much for your help.

  2. #2
    Join Date
    Dec 2007
    Posts
    25,679

    Default

    I don't think there is a way to do that exactly. You can modify the file name and location per Appender in the /conf/log4j.properties file:

    Code:
    log4j.appender.serverAccess.File=${com.wowza.wms.ConfigHome}/logs/wowzamediaserver_access.log
    Richard

Posting Permissions

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