Better Logging
MaynardMiner opened this issue · 1 comments
Create better logging:
1.) Miner logs: Have them go by miner name not type.
2.) SWARM log: Continue rollover logging, but add old_logs folder that deletes anything over 7 days old.
https://github.com/MaynardMiner/SWARM/blob/master/logs/README.md
This is going to be the best I can do which will be in next release. I have another dev testing changes now with me, because it took 90+ file changes to do.
I can't make logs by date for miner. It's too complicated, considering as a failsafe SWARM uses logs to get hashrate in case of miner API failure (which happens to some miners). Which is above what HiveOS does. So a static filename is require for background process that gathers hashrate of some form, it will now be [minername].log instead of [Type].log. HOWEVER most miners append their log file instead of deleting previous run data. So I don't think this is a big deal.
Also get screen
will be removed, but I intend to bring it back later...I have to re-write completely how the command works since I am no longer saving logs by device type.