aboutsummaryrefslogtreecommitdiffstats
path: root/src/framework/log
diff options
context:
space:
mode:
authorRahul Gupta <rahul.g.chimera@gmail.com>2018-06-26 11:19:13 +0530
committerRahul Gupta <rahul.g.chimera@gmail.com>2018-06-26 11:19:13 +0530
commit82b5e45ebf316afd7daa97d9f9b7b75636fb4e64 (patch)
treefabed7d2c0cc187206b2f2e768a4afaafa046bd8 /src/framework/log
parent24cbcfaa6fa1121dec1a029a1df114f065341156 (diff)
Spell correction
Change-Id: Icc062e358398ecf0fc46b7a55ce1c37a71aee650 Signed-off-by: Rahul Gupta <rahul.g.chimera@gmail.com>
Diffstat (limited to 'src/framework/log')
-rw-r--r--src/framework/log/nsfw_set_log.c4
-rw-r--r--src/framework/log/nstack_log.c12
2 files changed, 8 insertions, 8 deletions
diff --git a/src/framework/log/nsfw_set_log.c b/src/framework/log/nsfw_set_log.c
index a4b3b92..7ef6f37 100644
--- a/src/framework/log/nsfw_set_log.c
+++ b/src/framework/log/nsfw_set_log.c
@@ -87,7 +87,7 @@ nsfw_set_log_path (const char *param, const char *value)
NSFW_LOGINF ("renew log path]%s", g_log_cfg.master_log_path);
nstack_modify_log_dir (g_log_cfg.master_log_path);
- NSFW_LOGINF ("set log sucess]newpath=%s!", g_log_cfg.master_log_path);
+ NSFW_LOGINF ("set log success]newpath=%s!", g_log_cfg.master_log_path);
return TRUE;
}
return FALSE;
@@ -112,7 +112,7 @@ nsfw_flush_log_info (const char *param, u8 proc_type)
return FALSE;
}
glogFlushLogFiles (GLOG_LEVEL_DEBUG);
- NSFW_LOGINF ("flush log sucess]proc_type=%u", proc_type);
+ NSFW_LOGINF ("flush log success]proc_type=%u", proc_type);
return TRUE;
}
diff --git a/src/framework/log/nstack_log.c b/src/framework/log/nstack_log.c
index 50279ba..5e62ad7 100644
--- a/src/framework/log/nstack_log.c
+++ b/src/framework/log/nstack_log.c
@@ -321,11 +321,11 @@ int nstack_log_init()
}
if (log_level <= NSLOG_WAR)
{
- /*MONITR log level must set to larger than warning */
+ /*MONITOR log level must set to larger than warning */
nstack_setlog_level (MASTER, NSLOG_WAR);
}
- /* monitr and nstack write the same file, it will cause synchronize problem */
+ /* monitor and nstack write the same file, it will cause synchronize problem */
switch (g_my_pro_type)
{
case LOG_PRO_NSTACK:
@@ -517,13 +517,13 @@ get_app_env_log_path (char *app_file_path, unsigned int app_file_size)
pst_app_log_path_flag = getenv ("NSTACK_LOG_FILE_FLAG");
if (pst_app_log_path_flag && strcmp (pst_app_log_path_flag, "1") == 0)
{
- /* if set enviroment variable to 1,then output to file*/
+ /* if set environment variable to 1,then output to file*/
log_to_file = 1;
}
else
{
- /* if enviroment variable is not equal 1 or
- don't set this enviroment variable ,output to STDOUT */
+ /* if environment variable is not equal 1 or
+ don't set this environment variable ,output to STDOUT */
return 0;
}
@@ -593,7 +593,7 @@ nstack_log_init_app ()
int file_flag = 0;
char app_log_path[FILE_NAME_LEN] = { 0 };
- /* log alread initialized, just return */
+ /* log already initialized, just return */
if (LOG_PRO_INVALID != g_my_pro_type)
{
return;