<?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <targets> <target name="logfile" xsi:type="File" fileName="Log/${date:format=yyyy-MM-dd}.txt" archiveAboveSize="10485760" archiveNumbering="Sequence" archiveEvery="Day" maxArchiveFiles="1000" /> </targets> <rules> <logger name="*" minlevel="Info" writeTo="logfile" /> </rules> </nlog>