diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-02-13 18:09:17 -0800 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-02-13 18:14:42 -0800 |
commit | 81779ddb0137cda54362aae11cb05ae8e33b8297 (patch) | |
tree | c461846da9b3370495bb22e0e027b7fe77bfbc6d | |
parent | 4ebc97ef3905d5e642af8b849a2a3534febb017a (diff) | |
download | xrdp-proprietary-81779ddb0137cda54362aae11cb05ae8e33b8297.tar.gz xrdp-proprietary-81779ddb0137cda54362aae11cb05ae8e33b8297.zip |
Use lowercase program names for syslog
Other programs typically use the same case as their execulables.
-rw-r--r-- | sesman/chansrv/chansrv.c | 2 | ||||
-rw-r--r-- | sesman/sesman.c | 2 | ||||
-rw-r--r-- | sesman/sig.c | 2 | ||||
-rw-r--r-- | xrdp/xrdp.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c index 9752b7f3..b45fde34 100644 --- a/sesman/chansrv/chansrv.c +++ b/sesman/chansrv/chansrv.c @@ -1487,7 +1487,7 @@ main(int argc, char **argv) /* starting logging subsystem */ g_memset(&logconfig, 0, sizeof(struct log_config)); - logconfig.program_name = "XRDP-Chansrv"; + logconfig.program_name = "xrdp-chansrv"; g_snprintf(log_file, 255, "%s/xrdp-chansrv.log", log_path); g_writeln("chansrv::main: using log file [%s]", log_file); diff --git a/sesman/sesman.c b/sesman/sesman.c index 924a7ae8..30fc5f7c 100644 --- a/sesman/sesman.c +++ b/sesman/sesman.c @@ -268,7 +268,7 @@ main(int argc, char **argv) g_snprintf(cfg_file, 255, "%s/sesman.ini", XRDP_CFG_PATH); /* starting logging subsystem */ - error = log_start(cfg_file, "XRDP-sesman"); + error = log_start(cfg_file, "xrdp-sesman"); if (error != LOG_STARTUP_OK) { diff --git a/sesman/sig.c b/sesman/sig.c index 72892fb2..5a62046a 100644 --- a/sesman/sig.c +++ b/sesman/sig.c @@ -99,7 +99,7 @@ sig_sesman_reload_cfg(int sig) g_snprintf(cfg_file, 255, "%s/sesman.ini", XRDP_CFG_PATH); /* start again logging subsystem */ - error = log_start(cfg_file, "XRDP-sesman"); + error = log_start(cfg_file, "xrdp-sesman"); if (error != LOG_STARTUP_OK) { diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c index 690508cb..c70c37c7 100644 --- a/xrdp/xrdp.c +++ b/xrdp/xrdp.c @@ -437,7 +437,7 @@ main(int argc, char **argv) } /* starting logging subsystem */ - error = log_start(cfg_file, "XRDP"); + error = log_start(cfg_file, "xrdp"); if (error != LOG_STARTUP_OK) { |