Skip to content

Commit 4e419c2

Browse files
authored
Add stderr-output to docs (#2738)
* Add stderr-output to docs * Update modDate * Add version requirement
1 parent e5da91d commit 4e419c2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/pages/docs/deployments/custom-scripts/logging-messages-in-scripts.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2025-05-19
4+
modDate: 2025-06-05
55
title: Logging messages from scripts
66
description: When your scripts emit messages Octopus will display the messages in the Task Logs at the most appropriate level for the message.
77
icon: fa-solid fa-clock-rotate-left
@@ -217,13 +217,17 @@ To return to the default standard output log level, write the following message:
217217
```
218218

219219

220-
The following service messages can be written directly to standard output which will be parsed by the server and the subsequent log lines written to standard error will be treated with the relevant log level. `stderr-progress` will cause error log lines to be written as `verbose` log lines.
220+
The following service messages can be written directly to standard output which will be parsed by the server and the subsequent log lines written to standard error will be treated with the relevant log level.
221221
```
222222
##octopus[stderr-ignore]
223223
##octopus[stderr-error]
224224
##octopus[stderr-progress]
225+
##octopus[stderr-output]
225226
```
226227

228+
- `stderr-progress` will cause error log lines to be written as `verbose` log lines.
229+
- `stderr-output` will cause error log lines to be written as `info` log lines (standard output). Requires version `2025.3`.
230+
227231
To return to the default standard error log level, write the following message:
228232
```
229233
##octopus[stderr-default]

0 commit comments

Comments
 (0)