The documentation for the -debuglogfile option says you can disable logging to a file by setting the value to 0; this does not appear to be the case. Instead a file named 0 is created and used as the log file.
The expectation is that when you run bitcoind -debuglogfile=0 that no logging is made to a file.
This affects the latest version v0.17.0rc2