log_file
is a config setting that can be modified in tiddlywebconfig.py that controls the location of the file to which log information is written.
The default is ./tiddlyweb.log
, thus a file within the current instance.
If you change this setting, the file will be created when TiddlyWeb starts, but you must insure that the user running TiddlyWeb has permission to write in the directory.