change the way log go to logfiles, i.e. not going through nginx log phase, but push directly logs into files