Extract static and dynamic parts from log messages

* Remove log.py file