SecondSonConsulting / Renew

A macOS script to encourage users to restart their workstations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve logging so that deferral times are only shown if actually implemented

SecondSonConsulting opened this issue · comments

Currently deferral times are logged at the moment the script calculates them, which is confusing reading the logs because it will print a "deferUntil" date but that date may not actually get implemented.

Maybe only log these variables when the actual deferral function is called? This should quiet the logs quite a bit when deferrals are active or uptime is within threshold.

logging greatly streamlined in v0.1.8