Added network part of logging.
Merge branch 'logging' into dev