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: core/include/userver/logging/component.hpp
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,9 @@ namespace components {
54
54
///
55
55
/// ### Logs output
56
56
/// You can specify where logs are written in the `file_path` option:
57
-
/// - Use <tt>file_path: '@stdout'</tt> to write your logs to standard output stream;
58
-
/// - Use <tt>file_path: '@stderr'</tt> to write your logs to standard error stream;
59
-
/// - Use <tt>file_path: '@null'</tt> to suppress sending of logs;
57
+
/// - Use <tt>file_path: '\@stdout'</tt> to write your logs to standard output stream;
58
+
/// - Use <tt>file_path: '\@stderr'</tt> to write your logs to standard error stream;
59
+
/// - Use <tt>file_path: '\@null'</tt> to suppress sending of logs;
60
60
/// - Use <tt>file_path: /absolute/path/to/log/file.log</tt> to write your logs to file. Use USR1 signal or @ref server::handlers::OnLogRotate to reopen files after log rotation;
61
61
/// - Use <tt>file_path: 'unix:/absolute/path/to/logs.sock'</tt> to write your logs to unix socket. Socket must be created before the service starts and closed by listener after service is shut down.
0 commit comments