acu115916 distinguish logger from outstream in default shell
acu115916 made tag an object to support -d, etc.