From 7ad5b2e6e851da951dda7b185a86298ca60753e8 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 23 Feb 2017 11:11:44 +0100 Subject: [PATCH] Improve documentation about TEMP on Windows --- docs/config.rst | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/docs/config.rst b/docs/config.rst index c2be2ac6..beee972c 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -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\\Application Data - -Since Windows Vista and newer versions: - -:: - - C:\Users\\AppData\Roaming +* On Windows XP, ``%APPDATA%`` is: ``C:\Documents and Settings\\Application Data``. +* On Windows Vista and later: ``C:\Users\\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\\Local Settings\Temp``. +* On Windows Vista and later: ``C:\Users\\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