MCC/b2uploader: b2uploader - backup to server - SVN.BY: Go Git Service

b2uploader - backup to server

NLog.config 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
  5. autoReload="true"
  6. throwExceptions="false"
  7. internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log" >
  8. <!-- optional, add some variabeles
  9. https://github.com/nlog/NLog/wiki/Configuration-file#variables
  10. -->
  11. <variable name="myvar" value="myvalue"/>
  12. <!--
  13. See https://github.com/nlog/nlog/wiki/Configuration-file
  14. for information on customizing logging rules and outputs.
  15. -->
  16. <targets>
  17. <target xsi:type="File" name="f" fileName="${basedir}/${shortdate}.log"
  18. layout="${longdate} ${uppercase:${level}} ${message}" />
  19. <target xsi:type="Console" layout="${longdate} ${uppercase:${level}} ${message}" name="c"/>
  20. </targets>
  21. <rules>
  22. <!-- add your logging rules here -->
  23. <logger name="*" minlevel="Debug" writeTo="f" />
  24. <logger name="*" minlevel="Debug" writeTo="c" />
  25. </rules>
  26. </nlog>