You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/monitor/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,6 @@ Options for how an app's logs should be saved, routed and displayed.
142
142
| Property | Type | Default | Description |
143
143
| - | - | - | - |
144
144
| <aname="module_monitor-options.AppLogOptions+logToLaunchpadDir">`logToLaunchpadDir`</a> | <code>boolean</code>| <code>true</code> | Route application logs to launchpad's log dir instead of pm2's log dir. |
145
-
| <aname="module_monitor-options.AppLogOptions+mode">`mode`</a> | <code>string</code>|<code>'file'</code> | How to grab the app's logs. Supported values:<br>- `'file'`: Logs by tailing the app's log files. Slight lag, but can result in better formatting than bus.<br>- `'bus'`: Logs directly from the app's stdout/stderr bus. Can result in interrupted logs if the buffer isn't consistently flushed by an app. |
145
+
| <aname="module_monitor-options.AppLogOptions+mode">`mode`</a> | <code>'bus'</code>\| <code>'file'</code>|<code>'bus'</code> | How to grab the app's logs. Supported values:<br>- `'bus'`: Logs directly from the app's stdout/stderr bus. Can result in interrupted logs if the buffer isn't consistently flushed by an app.<br>- `'file'`: Logs by tailing the app's log files. Slight lag, but can result in better formatting than bus. Not recommended, as logs cannot be rotated by launchpad. |
146
146
| <aname="module_monitor-options.AppLogOptions+showStdout">`showStdout`</a> | <code>boolean</code>| <code>true</code> | Whether or not to include output from `stdout`|
147
147
| <aname="module_monitor-options.AppLogOptions+showStderr">`showStderr`</a> | <code>boolean</code>| <code>true</code> | Whether or not to include output from `stderr`|
0 commit comments