diff options
author | nicolargo <nicolas@nicolargo.com> | 2019-12-26 11:08:57 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2019-12-26 11:08:57 +0100 |
commit | 9a10c9217830d1a54b85638d6abb8667543e12b6 (patch) | |
tree | 652082b10546e2bcc3da3c93a2a31e77a34e8e40 /docs | |
parent | 57ffb712f8d33ad4ca2611d5a2922a9e44c8661a (diff) |
log file under public/shared tmp/ folders must not have deterministic name #1575
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config.rst | 11 | ||||
-rw-r--r-- | docs/man/glances.1 | 30 |
2 files changed, 8 insertions, 33 deletions
diff --git a/docs/config.rst b/docs/config.rst index 875a2b35..00c54851 100644 --- a/docs/config.rst +++ b/docs/config.rst @@ -115,15 +115,10 @@ Glances logs all of its internal messages to a log file. ``DEBUG`` messages can been logged using the ``-d`` option on the command line. -By default, the ``glances-USERNAME.log`` file is under the temporary directory: +The location of the Glances depends of your operating system. You could +displayed the Glances log file full path using the``glances -V`` command line. -=========== ====== -``*nix`` /tmp -``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``. +The file is automatically rotate when the size is higher than 1 MB. 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 diff --git a/docs/man/glances.1 b/docs/man/glances.1 index 4fb8ce31..a7539c3c 100644 --- a/docs/man/glances.1 +++ b/docs/man/glances.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "GLANCES" "1" "Nov 24, 2019" "3.1.4_BETA" "Glances" +.TH "GLANCES" "1" "Dec 26, 2019" "3.1.4_BETA" "Glances" .SH NAME glances \- An eye on your system . @@ -670,30 +670,10 @@ Glances logs all of its internal messages to a log file. \fBDEBUG\fP messages can been logged using the \fB\-d\fP option on the command line. .sp -By default, the \fBglances\-USERNAME.log\fP file is under the temporary directory: -.TS -center; -|l|l|. -_ -T{ -\fB*nix\fP -T} T{ -/tmp -T} -_ -T{ -\fBWindows\fP -T} T{ -%TEMP% -T} -_ -.TE -.INDENT 0.0 -.IP \(bu 2 -On Windows XP, \fB%TEMP%\fP is: \fBC:\eDocuments and Settings\e<USERNAME>\eLocal Settings\eTemp\fP\&. -.IP \(bu 2 -On Windows Vista and later: \fBC:\eUsers\e<USERNAME>\eAppData\eLocal\eTemp\fP\&. -.UNINDENT +The location of the Glances depends of your operating system. You could +displayed the Glances log file full path using the\(ga\(gaglances \-V\(ga\(ga command line. +.sp +The file is automatically rotate when the size is higher than 1 MB. .sp 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 |