diff options
| author | Yuri Sizov <yuris@humnom.net> | 2024-01-22 20:39:21 +0100 |
|---|---|---|
| committer | Yuri Sizov <yuris@humnom.net> | 2024-01-22 20:39:21 +0100 |
| commit | e89c9b50adf484f026352cb8fdadb459823c86e6 (patch) | |
| tree | dc3a1826043cb24f4835fb97a75e2e9f19a4f6f0 /doc/classes/ProjectSettings.xml | |
| parent | f98e57563b76e58ab8ac27491ae193d740c902d2 (diff) | |
| parent | 6e5e7b8cb7c99caf0003eb65320a2397088bb6b1 (diff) | |
| download | redot-engine-e89c9b50adf484f026352cb8fdadb459823c86e6.tar.gz | |
Merge pull request #87373 from Calinou/add-log-file-cli-argument
Add `--log-file` command line argument to write output log to a file
Diffstat (limited to 'doc/classes/ProjectSettings.xml')
| -rw-r--r-- | doc/classes/ProjectSettings.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index e0d41ab90a..cbd797273c 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -433,16 +433,18 @@ If canvas item redraw debugging is active, this will be the time the flash will last each time they redraw. </member> <member name="debug/file_logging/enable_file_logging" type="bool" setter="" getter="" default="false"> - If [code]true[/code], logs all output to files. + If [code]true[/code], logs all output and error messages to files. See also [member debug/file_logging/log_path], [member debug/file_logging/max_log_files], and [member application/run/flush_stdout_on_print]. </member> <member name="debug/file_logging/enable_file_logging.pc" type="bool" setter="" getter="" default="true"> Desktop override for [member debug/file_logging/enable_file_logging], as log files are not readily accessible on mobile/Web platforms. </member> <member name="debug/file_logging/log_path" type="String" setter="" getter="" default=""user://logs/godot.log""> Path at which to store log files for the project. Using a path under [code]user://[/code] is recommended. + This can be specified manually on the command line using the [code]--log-file <file>[/code] [url=$DOCS_URL/tutorials/editor/command_line_tutorial.html]command line argument[/url]. If this command line argument is specified, log rotation is automatically disabled (see [member debug/file_logging/max_log_files]). </member> <member name="debug/file_logging/max_log_files" type="int" setter="" getter="" default="5"> - Specifies the maximum number of log files allowed (used for rotation). + Specifies the maximum number of log files allowed (used for rotation). Set to [code]1[/code] to disable log file rotation. + If the [code]--log-file <file>[/code] [url=$DOCS_URL/tutorials/editor/command_line_tutorial.html]command line argument[/url] is used, log rotation is always disabled. </member> <member name="debug/gdscript/warnings/assert_always_false" type="int" setter="" getter="" default="1"> When set to [code]warn[/code] or [code]error[/code], produces a warning or an error respectively when an [code]assert[/code] call always evaluates to false. |
