Use lowercase program names for syslog
Other programs typically use the same case as their execulables.
This commit is contained in:
parent
4ebc97ef39
commit
81779ddb01
@ -1487,7 +1487,7 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
/* starting logging subsystem */
|
/* starting logging subsystem */
|
||||||
g_memset(&logconfig, 0, sizeof(struct log_config));
|
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_snprintf(log_file, 255, "%s/xrdp-chansrv.log", log_path);
|
||||||
g_writeln("chansrv::main: using log file [%s]", log_file);
|
g_writeln("chansrv::main: using log file [%s]", log_file);
|
||||||
|
|
||||||
|
@ -268,7 +268,7 @@ main(int argc, char **argv)
|
|||||||
g_snprintf(cfg_file, 255, "%s/sesman.ini", XRDP_CFG_PATH);
|
g_snprintf(cfg_file, 255, "%s/sesman.ini", XRDP_CFG_PATH);
|
||||||
|
|
||||||
/* starting logging subsystem */
|
/* starting logging subsystem */
|
||||||
error = log_start(cfg_file, "XRDP-sesman");
|
error = log_start(cfg_file, "xrdp-sesman");
|
||||||
|
|
||||||
if (error != LOG_STARTUP_OK)
|
if (error != LOG_STARTUP_OK)
|
||||||
{
|
{
|
||||||
|
@ -99,7 +99,7 @@ sig_sesman_reload_cfg(int sig)
|
|||||||
g_snprintf(cfg_file, 255, "%s/sesman.ini", XRDP_CFG_PATH);
|
g_snprintf(cfg_file, 255, "%s/sesman.ini", XRDP_CFG_PATH);
|
||||||
|
|
||||||
/* start again logging subsystem */
|
/* start again logging subsystem */
|
||||||
error = log_start(cfg_file, "XRDP-sesman");
|
error = log_start(cfg_file, "xrdp-sesman");
|
||||||
|
|
||||||
if (error != LOG_STARTUP_OK)
|
if (error != LOG_STARTUP_OK)
|
||||||
{
|
{
|
||||||
|
@ -437,7 +437,7 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* starting logging subsystem */
|
/* starting logging subsystem */
|
||||||
error = log_start(cfg_file, "XRDP");
|
error = log_start(cfg_file, "xrdp");
|
||||||
|
|
||||||
if (error != LOG_STARTUP_OK)
|
if (error != LOG_STARTUP_OK)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user