Save logs to network specific directories.

Fixes #114.