Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Verbose setting not changing in Driver Harness?
#11
Dean, did this get fixed? I've got verbose set to medium, but no log messages are coming out in the harness.
Reply
#12
It never got addressed, I don't think. I'd have to check the list, but I don't think it did.

Just put a debug statement into it for now in the Connect to set verbosity on.
Dean Roddey
Explorans limites defectum
Reply
#13
It has never seemed to matter where I stop it to change the verbosity. Maybe I haven't paid attention.

For now, I just replaced all the get verbose calls with my own verbose level member. Save some function call overhead anyway....
Reply
#14
Don't do that, since you'll have to put it all back again later anyway, else people wont' be able to turn it on/off in the field. Just set it yourself in the Connect for now in a debug only block.
Dean Roddey
Explorans limites defectum
Reply
#15
This is probably a dumb question, but how do you set the verbosity via CML?
Reply
#16
'Tis not possible. But Dean means that were you read the Verbosity and store it in a variable, override that and set it to off within a Debug block.
So in effect you set the verbosity on your own variable.
Scott
Reply
#17
You can set it now, so that's what I was talking about, to actually set the driver verbosity level yourself in debug only code.

SetVerboseLevel([In] VerboseLvls ToSet)
Dean Roddey
Explorans limites defectum
Reply
#18
Dean Roddey Wrote:You can set it now, so that's what I was talking about, to actually set the driver verbosity level yourself in debug only code.

SetVerboseLevel([In] VerboseLvls ToSet)

All right, I'll give it a shot.

What are the debug only statements again? Is it pre-processor type code, or something like Debug()?
Reply
#19
It's

#BeginDebug
#EndDebug
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Driver for Amazon 4k Stick Darrie 3 437 01-15-2022, 02:21 PM
Last Post: znelbok
  setting up CQC tom 12 1,818 10-31-2021, 02:41 PM
Last Post: Dean Roddey
  CQSL Interface Driver connects but no control NightLight 3 500 10-26-2021, 01:12 PM
Last Post: NightLight
  ClickPLC driver now failing after upgrade znelbok 2 945 09-21-2020, 10:48 PM
Last Post: znelbok
  Pentair driver tom 5 1,878 08-02-2020, 11:29 PM
Last Post: kblagron
  Marantz receiver driver (IP) dlmorgan999 6 2,009 05-15-2020, 03:32 PM
Last Post: dlmorgan999
  How to have a button go through three options? Such as changing floors? ghurty 6 1,490 04-28-2020, 04:21 PM
Last Post: Dean Roddey
  Variables Driver Client gReatAutomation 4 1,612 04-25-2020, 12:46 PM
Last Post: gReatAutomation
  Reconfig of Driver Causes Built In Triggers to Fire gReatAutomation 2 1,198 03-25-2020, 04:09 PM
Last Post: gReatAutomation
  Lutron RadioRA2 Driver and Lutron Visor Control gReatAutomation 29 11,058 03-19-2020, 01:03 PM
Last Post: gReatAutomation

Forum Jump:


Users browsing this thread: 1 Guest(s)