Skip to content

Commit 2bc23a1

Browse files
committed
[script_manager] fixed log message and reset log level for production
1 parent 97f4c91 commit 2bc23a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/script_manager.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ local MIN_BUTTONS_PER_PAGE = 5
8787
local MAX_BUTTONS_PER_PAGE = 20
8888
local DEFAULT_BUTTONS_PER_PAGE = 10
8989

90-
local DEFAULT_LOG_LEVEL = log.debug
90+
local DEFAULT_LOG_LEVEL = log.error
9191

9292
local LUA_DIR = dt.configuration.config_dir .. PS .. "lua"
9393
local LUA_SCRIPT_REPO = "https://github.com/darktable-org/lua-scripts.git"
@@ -218,7 +218,7 @@ local function get_current_repo_branch(repo)
218218
if not branch then
219219
log.msg(log.error, "no current branch detected in repo_data")
220220
else
221-
log.msg(log.info, "\ncurrent repo branch is " .. branch)
221+
log.msg(log.info, "current repo branch is " .. branch)
222222
end
223223
return branch
224224
end

0 commit comments

Comments
 (0)