It depends on your configuration, but you changed the log configuration of the containers (separated worker processes) not the log configuration of the nodemanger process itself.
Check the YARN_LOG_DIR variable in the yarn-env.sh for the location of the nodemanager's log.