summaryrefslogtreecommitdiff
path: root/luaif/luaif.c
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-09-15 18:18:43 +0300
committerLauri Leukkunen <lle@rahina.org>2008-09-27 00:02:42 +0300
commitf0aa538c22327cb92ca58cce6148e8e0ec121541 (patch)
tree653427a41dd5c93be902b7f3027f02d1aa8d8bfc /luaif/luaif.c
parent7b1c05e4af87ef66b94cd70cc420750778c42982 (diff)
Changed logging level of missing exec.policies (warning -> notice) - Other mapping modes than maemo do not yet contain exec policies, so the world is not yet ready for warnings about missing policies..
Diffstat (limited to 'luaif/luaif.c')
-rw-r--r--luaif/luaif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/luaif/luaif.c b/luaif/luaif.c
index 23298b7..d92e7ea 100644
--- a/luaif/luaif.c
+++ b/luaif/luaif.c
@@ -360,6 +360,8 @@ static int lua_sb_log(lua_State *luastate)
SB_LOG(SB_LOGLEVEL_INFO, "INFO: %s", logmsg);
else if(!strcmp(loglevel, "warning"))
SB_LOG(SB_LOGLEVEL_WARNING, "WARNING: %s", logmsg);
+ else if(!strcmp(loglevel, "notice"))
+ SB_LOG(SB_LOGLEVEL_NOTICE, "NOTICE: %s", logmsg);
else if(!strcmp(loglevel, "error"))
SB_LOG(SB_LOGLEVEL_ERROR, "ERROR: %s", logmsg);
else if(!strcmp(loglevel, "noise"))