Levels of Debug logging

Is is possible to set the level of logging that is generated, such that the logs are not filled with extraneous data e.g.

[01/20/20 18:06:25.994][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Post-Wait: Looping
[01/20/20 18:06:25.994][DEBUG][Sequence Thread][SQ;] Checking PHD2 state…
[01/20/20 18:06:25.994][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Pre-Wait : Looping
[01/20/20 18:06:25.994][DEBUG][Sequence Thread][SQ;] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[01/20/20 18:06:26.094][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Post-Wait: Looping
[01/20/20 18:06:26.094][DEBUG][Sequence Thread][SQ;] Checking PHD2 state…
[01/20/20 18:06:26.094][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Pre-Wait : Looping
[01/20/20 18:06:26.094][DEBUG][Sequence Thread][SQ;] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[01/20/20 18:06:27.002][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Post-Wait: Selected
[01/20/20 18:06:27.002][DEBUG][Sequence Thread][SQ;] Checking PHD2 state…
[01/20/20 18:06:27.002][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Pre-Wait : Selected
[01/20/20 18:06:27.002][DEBUG][Sequence Thread][SQ;] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

which is filling the logs, even when the systems is stopped\parked over-night.

Link to Logs

my current log is over 40Mb in size…

Useful Info

OS: Win 10 Pro
Ver: 435\446 note a slight slip in versioning ??

This is not currently supported.

but should SGP be polling PHD, even when the system is parked ??

Actually I was wondering about the jump from .435 to .436 myself. Typo?

The snippet you provided is from the sequence starting the guider. I would need to see logs from an “idle” period to confirm.

Here is another snippet, where the sequence is ending & stopping
[01/21/20 08:31:27.052][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Post-Wait: Stopped
[01/21/20 08:31:27.052][DEBUG][Main Thread][SQ;] Adding sequence level notification: Auto guider has been stopped successfully.
[01/21/20 08:31:27.059][DEBUG][Sequence Thread][SQ;] Sending Notification: Status - Auto guider has been stopped successfully.
[01/21/20 08:31:27.062][DEBUG][Main Thread][SQ;] Aborting sequence timer thread…
[01/21/20 08:31:27.062][DEBUG][Main Thread][SQ;] Sending sequence end notification…
[01/21/20 08:31:27.062][DEBUG][Main Thread][SQ;] Adding sequence level notification: Sequence has ended
[01/21/20 08:31:27.067][DEBUG][Main Thread][SQ;] Sending Notification: Status - Sequence has ended
[01/21/20 08:31:27.068][DEBUG][Main Thread][SQ;] Resetting UI elements…
[01/21/20 08:31:27.071][DEBUG][Main Thread][SQ;] Checking if sequence has work left…
[01/21/20 08:31:27.071][DEBUG][Main Thread][SQ;] No work left…
[01/21/20 08:31:27.071][DEBUG][Main Thread][SQ;] Updating big status…
[01/21/20 08:31:27.071][DEBUG][Main Thread][SQ;] Enabling menu items…
[01/21/20 08:31:27.104][DEBUG][Main Thread][SQ;] Set target icons…
[01/21/20 08:31:27.110][DEBUG][Main Thread][SQ;] Removing camera protection…
[01/21/20 08:31:27.131][DEBUG][Main Thread][SQ;] Monitoring system shutdown…
[01/21/20 08:31:27.132][DEBUG][Main Thread][SQ;] SequenceEnds complete…
[01/21/20 08:31:27.132][DEBUG][Sequence Thread][SQ;] Restoring system standby state…
[01/21/20 08:32:01.847][DEBUG][Main Thread][NONE] PopulateDataModel: Transferring view to the data model…
[01/21/20 08:32:01.849][DEBUG][MF Update Thread][NONE] Performing serialize…
[01/21/20 08:32:27.056][DEBUG][PHD2 Listener Thread][NONE] PHD2 - No messages received from PHD2 for 1 minute, checking socket with status…
[01/21/20 08:32:27.056][DEBUG][PHD2 Listener Thread][NONE] Checking PHD2 state…
[01/21/20 08:32:27.056][DEBUG][PHD2 Listener Thread][NONE] PHD2 GetPhdStatus - Pre-Wait : Stopped
[01/21/20 08:32:27.056][DEBUG][PHD2 Listener Thread][NONE] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[01/21/20 08:32:27.056][DEBUG][PHD2 Listener Thread][NONE] PHD2 GetPhdStatus - Post-Wait: Stopped
[01/21/20 08:33:27.198][DEBUG][PHD2 Listener Thread][NONE] PHD2 - No messages received from PHD2 for 1 minute, checking socket with status…
[01/21/20 08:33:27.198][DEBUG][PHD2 Listener Thread][NONE] Checking PHD2 state…
[01/21/20 08:33:27.198][DEBUG][PHD2 Listener Thread][NONE] PHD2 GetPhdStatus - Pre-Wait : Stopped
[01/21/20 08:33:27.198][DEBUG][PHD2 Listener Thread][NONE] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[01/21/20 08:33:27.198][DEBUG][PHD2 Listener Thread][NONE] PHD2 GetPhdStatus - Post-Wait: Stopped
[01/21/20 08:34:27.329][DEBUG][PHD2 Listener Thread][NONE] PHD2 - No messages received from PHD2 for 1 minute, checking socket with status…
[01/21/20 08:34:27.329][DEBUG][PHD2 Listener Thread][NONE] Checking PHD2 state…
[01/21/20 08:34:27.329][DEBUG][PHD2 Listener Thread][NONE] PHD2 GetPhdStatus - Pre-Wait : Stopped
[01/21/20 08:34:27.329][DEBUG][PHD2 Listener Thread][NONE] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

The last message block is then repeated every minute throughout the day till 16:59 when I was about to restart…i.e.

[01/21/20 16:59:31.657][DEBUG][PHD2 Listener Thread][NONE] PHD2 GetPhdStatus - Post-Wait: Stopped
[01/21/20 16:59:36.889][DEBUG][Telescope Thread][NONE] Telescope Dispatch loop: Received SGM_TELESCOPE_CONNECT…
[01/21/20 16:59:36.995][DEBUG][Telescope Thread][NONE] Telescope can slewing supported…
[01/21/20 16:59:37.002][DEBUG][Telescope Thread][NONE] Telescope: Implements MoveAxis…
[01/21/20 16:59:37.003][DEBUG][Telescope Thread][NONE] RA Move Rate Range: Min->0 Max->3.34245933333333
[01/21/20 16:59:37.004][DEBUG][Telescope Thread][NONE] DEC Move Rate Range: Min->0 Max->3.34245933333333
[01/21/20 16:59:37.005][DEBUG][Telescope Thread][NONE] Telescope: CanSetSideOfPier returned False
[01/21/20 16:59:37.005][DEBUG][Telescope Thread][NONE] Telescope: CanPark returned True
[01/21/20 16:59:37.005][DEBUG][Telescope Thread][NONE] Telescope equatorial system is J2000…
[01/21/20 16:59:37.006][DEBUG][Telescope Thread][NONE] SGM_TELESCOPE_CONNECT complete…
[01/21/20 16:59:37.006][DEBUG][Telescope Thread][NONE] Telescope thread is IDLE…
[01/21/20 16:59:37.119][INFO][Main Thread][NONE] Telescope: Setting sync behavior to: Sync
[01/21/20 17:00:31.772][DEBUG][PHD2 Listener Thread][NONE] PHD2 - No messages received from PHD2 for 1 minute, checking socket with status…
[01/21/20 17:00:31.772][DEBUG][PHD2 Listener Thread][NONE] Checking PHD2 state…
[01/21/20 17:00:31.772][DEBUG][PHD2 Listener Thread][NONE] PHD2 GetPhdStatus - Pre-Wait : Stopped
[01/21/20 17:00:31.772][DEBUG][PHD2 Listener Thread][NONE] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

[01/21/20 17:00:31.772][DEBUG][PHD2 Listener Thread][NONE] PHD2 GetPhdStatus - Post-Wait: Stopped
[01/21/20 17:01:31.885][DEBUG][PHD2 Listener Thread][NONE] PHD2 - No messages received from PHD2 for 1 minute, checking socket with status…
[01/21/20 17:01:31.885][DEBUG][PHD2 Listener Thread][NONE] Checking PHD2 state…
[01/21/20 17:01:31.885][DEBUG][PHD2 Listener Thread][NONE] PHD2 GetPhdStatus - Pre-Wait : Stopped
[01/21/20 17:01:31.885][DEBUG][PHD2 Listener Thread][NONE] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

Note there are other .Net\UI errors in the log that I wanted to highlight, but as the logs have grown sooo big, its difficult to identify.