make $nx_logdir configurable.  Maybe should make the filenames
configurable too but this is all we need for now.