Sean Meighan

Welcome => Do You Need Help? Post it here => Topic started by: MartinMueller2003 on August 04, 2020, 05:06:58 AM

Title: Controlling log settings - how do I?
Post by: MartinMueller2003 on August 04, 2020, 05:06:58 AM
I am working on a ZCPP change for the ESPixelStick. Trying to teach xLights that the ESP has more than one output port. While doing this I would like xLights to give me more information. To start with I want to change the current logging.

What I have is (log_zcpp) :
ALERT CRIT EMERG ERROR FATAL NOTICE WARN
and I would like them to be:
ALERT CRIT DEBUG EMERG ERROR FATAL INFO NOTICE WARN

Does anyone know how to do this without recompiling xLights?
Title: Re: Controlling log settings - how do I?
Post by: Gilrock on August 04, 2020, 07:03:10 AM
Not sure how to change the level but Keith might know if its possible.  The package is called Log4cpp if you want to research online docs.
Title: Re: Controlling log settings - how do I?
Post by: keithsw1111 on August 04, 2020, 12:08:25 PM
Edit the xlights.windows.properties file. It is in the install folder.
Title: Re: Controlling log settings - how do I?
Post by: keithsw1111 on August 04, 2020, 12:09:22 PM
If playing with zcpp you should also check out the spec which is in the root folder of the xlights github repo.