Author Topic: Controlling log settings - how do I?  (Read 334 times)

Offline MartinMueller2003

  • Newbie
  • *
  • Posts: 1
    • View Profile
Controlling log settings - how do I?
« 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?

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Controlling log settings - how do I?
« Reply #1 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.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Controlling log settings - how do I?
« Reply #2 on: August 04, 2020, 12:08:25 PM »
Edit the xlights.windows.properties file. It is in the install folder.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Controlling log settings - how do I?
« Reply #3 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.