Advertisement
Guest User

NLog Psianh

a guest
May 3rd, 2015
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3. <targets async="true">
  4. <target name="File"
  5. xsi:type="File"
  6. fileName="${specialfolder:LocalApplicationData}/Arma 3/AliveServer.log"
  7. layout="${date} ${level} ${message}${onexception:inner=${newline}${exception:format=tostring}}"
  8. keepFileOpen="true"
  9. openFileCacheTimeout="60"
  10.  
  11. archiveFileName="${specialfolder:LocalApplicationData}/Arma 3/AliveServer.{#}.log"
  12. archiveEvery="Day"
  13. archiveNumbering="Rolling"
  14. maxArchiveFiles="7"
  15. />
  16. </targets>
  17. <rules>
  18. <logger name="*" writeTo="File"/>
  19. </rules>
  20. </nlog>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement