Wowza Community

Multiples log4j.properties file

Hi guys,

I have a necessity to create specifics logs for some AppInstance.

I know that it’s possible to do in ${com.wowza.wms.ConfigHome}/conf/log4j.properties, but to make it more clear to my business, I wish to know if is possible split log4j.properties for each AppInstance that I have.

As is made with Application.xml.

e.g.:

${com.wowza.wms.ConfigHome}/conf/log4j.properties

${com.wowza.wms.ConfigHome}/conf/live_1/log4j.properties

${com.wowza.wms.ConfigHome}/conf/live_2/log4j.properties

Is it possible? Or only in log4j.properties default?

I tried to search something like that in Forums, Wowza User’s guide, etc, but no success.

Regards,

Hello there and welcome to the Wowza support forum.

There is a section in the log4j.properties file for application logging. You can uncomment that and see if that suites your needs.

Kind regards,

Salvadore

Thank you Salvadore,

Yep, I know this section… It’s not exactly what I was searching, but ok.

I’m searching to find a way to split log4j conf file for each Application that I have.

And another question (if possible) to close this thread…

Everytime that I change log4j.properties, will be necessary a Wowza restart, right? I don’t have how to escape of it?

Regards,