Results 1 to 2 of 2

Thread: log4j custom category name

  1. #1

    Default log4j custom category name


    There is a little but annoying problem with custom category names in log4j.

    My goal is to filter logger output to show only output from my modules.
    I have the following code:
    WMSLoggerFactory.getLoggerObj(appInst).info("my comment blah blah", "ether", "comment", 200, appInst.getApplication().getName()+"/"+appInst.getName());
    Then, in I write:
    But log4j not allows this, sending following to stderr:
    Log file configuration error: Invalid category name in CategoryInclude: ether
    At the moment, I use this workaround:
    But it not seems to be a good way.

    Can somebody tell me where to dig?

  2. #2
    Join Date
    Jan 2015


    Hi heronman,

    Although you can add custom categories to the logs as needed, these categories are defined elsewhere. So when you invoke CategoryInclude, it checks against this pre-defined list.


Similar Threads

  1. Wowza access log's event and category
    By alantang888 in forum Server Administration Discussion
    Replies: 7
    Last Post: 08-25-2014, 10:08 AM
  2. vod category
    By Cresp234 in forum On-Demand Streaming
    Replies: 3
    Last Post: 07-28-2014, 06:28 AM
  3. log4j wowza 3.6
    By jormarcha in forum General Forum
    Replies: 3
    Last Post: 05-09-2014, 05:33 AM
  4. wowza2 appenders wont work with custom log4j loger
    By _djfd_ in forum Server-side Modules and Code Samples Discussion
    Replies: 5
    Last Post: 09-29-2013, 07:09 AM

Posting Permissions

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