summaryrefslogtreecommitdiff
path: root/ace/Logging_Strategy.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Logging_Strategy.h')
-rw-r--r--ace/Logging_Strategy.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/Logging_Strategy.h b/ace/Logging_Strategy.h
index 5a0376793a4..e035eaba24e 100644
--- a/ace/Logging_Strategy.h
+++ b/ace/Logging_Strategy.h
@@ -83,7 +83,8 @@ public:
(default is 0, i.e., do not sample by default).
'-k' Set the logging key.
'-m' Maximum logfile size in Kbytes.
- '-n' The maximum number of logfiles that we want created.
+ '-n' Set the program name for the %n format specifier.
+ '-N' The maximum number of logfiles that we want created.
'-o' Specifies that we want the no standard logfiles ordering
(fastest processing in <handle_timeout>). Default is not to order
logfiles.
@@ -123,6 +124,8 @@ private:
/// Logger key for distributed logging.
ACE_TCHAR *logger_key_;
+ /// Program name to be used for %n format specifier.
+ ACE_TCHAR *program_name_;
/// If non-0 then wipeout the logfile, otherwise append to it.
/// Default value is 0.