Usage monitoring ================ To get a clear picture of when your computer is awake and why, you can advise the logging system to create a dedicated log file that includes the reasons why it is not sleeping. Example ------- For simplicities sake we omit in this example all the rules used for debugging Desomnia. In the following code block you will find only those rules and targets, that will create a singular ``usage.log``, which will include the times when the service starts and stop, and a collections of reasons for not sleeping for every timeout interval. The ``usage.log`` file only contains events for the current day. At the end of each day, the current log is archived and a summary containing the duration that the system was asleep is written. Only the last 10 days are preserved. You can configure these parameters yourself, changing the approriate values in the ``NLog.config``. .. code:: xml