I'm currently have no access to computer to check, but likely your NLog
cannot pick up its configuration, when being fired within a fsi
script.
You may want finding nlog.config
file within your compiled F# projects and copying it to the directory, where your fsi.exe
(FsiAnyCPU.exe
for 64-bit fsi
) is located side by side with Fsi.exe.config
(FsiAnyCPU.exe.config
).
For F# 3.x on Windows the location is usually C:\Program Files (x86)\Microsoft SDKs\F#\3.0\Framework\v4.0
.
Alternatively, you may switch to configuring NLog
from your code and run the configuration piece from your script.