Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
36801f7e
Commit
36801f7e
authored
Nov 27, 2015
by
Itamar Haber
Browse files
Revert Lua's `redis.LOG_<level>` to original
Fixes #2898
parent
a0d41e51
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
36801f7e
...
...
@@ -926,19 +926,19 @@ void scriptingInit(int setup) {
lua_pushcfunction
(
lua
,
luaLogCommand
);
lua_settable
(
lua
,
-
3
);
lua_pushstring
(
lua
,
"L
L
_DEBUG"
);
lua_pushstring
(
lua
,
"L
OG
_DEBUG"
);
lua_pushnumber
(
lua
,
LL_DEBUG
);
lua_settable
(
lua
,
-
3
);
lua_pushstring
(
lua
,
"L
L
_VERBOSE"
);
lua_pushstring
(
lua
,
"L
OG
_VERBOSE"
);
lua_pushnumber
(
lua
,
LL_VERBOSE
);
lua_settable
(
lua
,
-
3
);
lua_pushstring
(
lua
,
"L
L
_NOTICE"
);
lua_pushstring
(
lua
,
"L
OG
_NOTICE"
);
lua_pushnumber
(
lua
,
LL_NOTICE
);
lua_settable
(
lua
,
-
3
);
lua_pushstring
(
lua
,
"L
L
_WARNING"
);
lua_pushstring
(
lua
,
"L
OG
_WARNING"
);
lua_pushnumber
(
lua
,
LL_WARNING
);
lua_settable
(
lua
,
-
3
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment