script for start logging on nexus