Use logger instead of print statements in install.py
Use stdoutlog instead of print in lock.py