Improve documentation about TEMP on Windows

This commit is contained in:
Alessio Sergi 2017-02-23 11:11:44 +01:00
parent fef6f8a860
commit 7ad5b2e6e8

View File

@ -23,17 +23,8 @@ You can put your own ``glances.conf`` file in the following locations:
``Windows`` %APPDATA%\\glances
==================== =============================================================
On Windows XP, the ``%APPDATA%`` path is:
::
C:\Documents and Settings\<User>\Application Data
Since Windows Vista and newer versions:
::
C:\Users\<User>\AppData\Roaming
* On Windows XP, ``%APPDATA%`` is: ``C:\Documents and Settings\<USERNAME>\Application Data``.
* On Windows Vista and later: ``C:\Users\<USERNAME>\AppData\Roaming``.
User-specific options override system-wide options and options given on
the command line override either.
@ -107,10 +98,13 @@ line.
By default, the ``glances-USERNAME.log`` file is under the temporary directory:
=========== ======================
=========== ======
``*nix`` /tmp
``Windows`` %APPDATA%\\Local\\temp
=========== ======================
``Windows`` %TEMP%
=========== ======
* On Windows XP, ``%TEMP%`` is: ``C:\Documents and Settings\<USERNAME>\Local Settings\Temp``.
* On Windows Vista and later: ``C:\Users\<USERNAME>\AppData\Local\Temp``.
If you want to use another system path or change the log message, you
can use your own logger configuration. First of all, you have to create