mirror of https://gitee.com/bigwinds/arangodb
79 lines
2.3 KiB
Plaintext
79 lines
2.3 KiB
Plaintext
!CHAPTER Command-Line Options for Logging
|
|
|
|
There are two different kinds of logs. Human-readable logs and machine-readable
|
|
logs. The human-readable logs are used to provide an administration with
|
|
information about the server. The machine-readable logs are used to provide
|
|
statistics about executed requests and timings about computation steps.
|
|
|
|
!SECTION General Logging Options
|
|
|
|
!SUBSECTION Logfile
|
|
`--log.file filename`
|
|
|
|
This option allows the user to specify the name of a file to which information
|
|
is logged. By default, if no log file is specified, the standard output is
|
|
used. Note that if the file named by *filename* does not exist, it will be
|
|
created. If the file cannot be created (e.g. due to missing file privileges),
|
|
the server will refuse to start. If the specified file already exists, output is
|
|
appended to that file.
|
|
|
|
Use *+* to log to standard error. Use *-* to log to standard output.
|
|
Use *""* to disable logging to file.
|
|
|
|
`--log.tty filename`
|
|
|
|
Be default, if started on a tty, the log output will also go to the ttyp.
|
|
Use *""* to disable.
|
|
|
|
!SUBSECTION Request
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logRequests
|
|
|
|
!SECTION Human Readable Logging
|
|
|
|
!SUBSECTION Logfiles
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logFile
|
|
|
|
!SUBSECTION Level
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logLevel
|
|
|
|
!SUBSECTION Local Time
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logLocalTime
|
|
|
|
!SUBSECTION Line number
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logLineNumber
|
|
|
|
!SUBSECTION Prefix
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logPrefix
|
|
|
|
!SUBSECTION Thread
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logThread
|
|
|
|
!SUBSECTION Source Filter
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logSourceFilter
|
|
|
|
!SUBSECTION Content Filter
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logContentFilter
|
|
|
|
!SUBSECTION Performance
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logPerformance
|
|
|
|
!SECTION Machine Readable Logging
|
|
|
|
!SUBSECTION Application
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logApplication
|
|
|
|
!SUBSECTION Facility
|
|
<!-- lib/ApplicationServer/ApplicationServer.h -->
|
|
@startDocuBlock logFacility
|