diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-23 10:07:26 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-23 10:29:17 +0100 |
commit | 9c0ff4fafe4276396125a52c89d36967566fe08c (patch) | |
tree | b1c337dd1ca34c82f99cd39f66b691df10caf244 /ggsn/cmdline.h | |
parent | 1c4d9e6d871a8fed3e1c600777a5b06726d53302 (diff) |
cli: Introduce a logfile command to log errors to a file
The evolution would be to introduce libosmocore and start using
the logging framework. But even then we can map this option to
the file target.
Fixes: SYS#263
Diffstat (limited to 'ggsn/cmdline.h')
-rw-r--r-- | ggsn/cmdline.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ggsn/cmdline.h b/ggsn/cmdline.h index 1ce222e..f3636e8 100644 --- a/ggsn/cmdline.h +++ b/ggsn/cmdline.h @@ -89,6 +89,9 @@ struct gengetopt_args_info int qos_arg; /**< @brief Requested quality of service (default='0x0b921f'). */ char * qos_orig; /**< @brief Requested quality of service original value given at command line. */ const char *qos_help; /**< @brief Requested quality of service help description. */ + char * logfile_arg; /**< @brief Logfile for errors. */ + char * logfile_orig; /**< @brief Logfile for errors original value given at command line. */ + const char *logfile_help; /**< @brief Logfile for errors help description. */ unsigned int help_given ; /**< @brief Whether help was given. */ unsigned int version_given ; /**< @brief Whether version was given. */ @@ -108,6 +111,7 @@ struct gengetopt_args_info unsigned int timelimit_given ; /**< @brief Whether timelimit was given. */ unsigned int apn_given ; /**< @brief Whether apn was given. */ unsigned int qos_given ; /**< @brief Whether qos was given. */ + unsigned int logfile_given ; /**< @brief Whether logfile was given. */ } ; |