Closed calebmckay closed 7 years ago
@calebmckay I am liking what you have done, however can we move the configdebuglog() function to a new file that both server and client pull in (import file ). I think that will cut down on code repeat and will allow us to reuse it in any future files that need it. Also can you add the path as a paramater to the function for added customization?
I added a whole common directory for any files shared by both server and client. These files can be copied to /root in the install script so they can be imported by the existing code files, as I did with STcommon.py, which contains the new configDebugLog.
Added basic logging capabilities via Python's Logging library. Future enhancements can be made using RotatingFileHandlers instead of FileHandlers to manage log file rotation, once a rotation/preservation strategy has been determined.