Configurable progress reporting #13
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "uw-progress-reporting"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The headless miner can now be configured to autostart with either progress or debug reporting. Example:
Valid options are
debug,progressandsilent(default).Reporting can also be started from the shell, using either
gmhc_events:debug()orgmhc_events:progress(). Only one reporter can be running at any given time.gmhc_events:stop()stops a running reporter.Example progress reporting:
The reporting strings are available via the function
gmhc_events:rpt_progress(EventTag, Info). The returned string doesn't add starting or ending newlines, nor the timestamp shown above.Handy! Craig is adding new messages downstream, as we speak, but our users running headless miners currently are savvy enough to comprehend what a 404 message in their systemd logs would mean, so I guess it is fine. 'One day' I am sure that 'someone' will get these things streamlined down to one central list of cases ;)
This is great!
Not exactly adding messages, but matching messages that weren't being matched and fell back to being printed as Erlang terms straight in the text message window -- which was exploding muggle brains!